public static class Attachment.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Attachment |
build() |
Attachment.Builder |
buyerCompartmentId(String buyerCompartmentId)
OCID of the buyer’s tenancy (root compartment).
|
Attachment.Builder |
copy(Attachment model) |
Attachment.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Attachment.Builder |
displayName(String displayName)
The name used to refer to the uploaded data.
|
Attachment.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Attachment.Builder |
id(String id)
Unique identifier that is immutable on creation
|
Attachment.Builder |
lifecycleState(Attachment.LifecycleState lifecycleState)
The current state of the Offer.
|
Attachment.Builder |
mimeType(String mimeType)
The MIME type of the uploaded data.
|
Attachment.Builder |
offerId(String offerId)
Unique identifier of the associated offer that is immutable on creation
|
Attachment.Builder |
sellerCompartmentId(String sellerCompartmentId)
OCID of the seller’s tenancy (root compartment).
|
Attachment.Builder |
timeCreated(Date timeCreated)
The time the the Offer was created.
|
Attachment.Builder |
type(Attachment.Type type)
The type of offer attachment.
|
public Attachment.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic Attachment.Builder sellerCompartmentId(String sellerCompartmentId)
OCID of the seller’s tenancy (root compartment).
sellerCompartmentId
- the value to setpublic Attachment.Builder offerId(String offerId)
Unique identifier of the associated offer that is immutable on creation
offerId
- the value to setpublic Attachment.Builder buyerCompartmentId(String buyerCompartmentId)
OCID of the buyer’s tenancy (root compartment).
buyerCompartmentId
- the value to setpublic Attachment.Builder mimeType(String mimeType)
The MIME type of the uploaded data.
mimeType
- the value to setpublic Attachment.Builder displayName(String displayName)
The name used to refer to the uploaded data.
displayName
- the value to setpublic Attachment.Builder type(Attachment.Type type)
The type of offer attachment.
type
- the value to setpublic Attachment.Builder timeCreated(Date timeCreated)
The time the the Offer was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic Attachment.Builder lifecycleState(Attachment.LifecycleState lifecycleState)
The current state of the Offer.
lifecycleState
- the value to setpublic Attachment.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope. Exists
for cross-compatibility only. Example: {"bar-key": "value"}
freeformTags
- the value to setpublic Attachment.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic Attachment build()
public Attachment.Builder copy(Attachment model)
Copyright © 2016–2024. All rights reserved.