Class AttachmentSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.marketplaceprivateoffer.model.AttachmentSummary.Builder
 
- 
- Enclosing class:
- AttachmentSummary
 
 public static class AttachmentSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentSummarybuild()AttachmentSummary.Buildercopy(AttachmentSummary model)AttachmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.AttachmentSummary.BuilderdisplayName(String displayName)The name used to refer to the uploaded data.AttachmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.AttachmentSummary.Builderid(String id)Unique identifier that is immutable on creationAttachmentSummary.BuilderlifecycleState(Attachment.LifecycleState lifecycleState)The current state of the Attachment.AttachmentSummary.BuildermimeType(String mimeType)The MIME type of the uploaded data.AttachmentSummary.BuilderofferId(String offerId)Unique identifier of the associated offer that is immutable on creationAttachmentSummary.Buildertype(Attachment.Type type)The type of offer attachment.
 
- 
- 
- 
Method Detail- 
idpublic AttachmentSummary.Builder id(String id) Unique identifier that is immutable on creation- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
offerIdpublic AttachmentSummary.Builder offerId(String offerId) Unique identifier of the associated offer that is immutable on creation- Parameters:
- offerId- the value to set
- Returns:
- this builder
 
 - 
mimeTypepublic AttachmentSummary.Builder mimeType(String mimeType) The MIME type of the uploaded data.- Parameters:
- mimeType- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic AttachmentSummary.Builder displayName(String displayName) The name used to refer to the uploaded data.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
typepublic AttachmentSummary.Builder type(Attachment.Type type) The type of offer attachment.- Parameters:
- type- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic AttachmentSummary.Builder lifecycleState(Attachment.LifecycleState lifecycleState) The current state of the Attachment.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic AttachmentSummary.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”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic AttachmentSummary.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”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic AttachmentSummary build() 
 - 
copypublic AttachmentSummary.Builder copy(AttachmentSummary model) 
 
- 
 
-