Class AttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.marketplacepublisher.model.AttachmentSummary.Builder
-
- Enclosing class:
- AttachmentSummary
public static class AttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentSummary
build()
AttachmentSummary.Builder
copy(AttachmentSummary model)
AttachmentSummary.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.AttachmentSummary.Builder
displayName(String displayName)
The name used to refer to the uploaded data.AttachmentSummary.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.AttachmentSummary.Builder
id(String id)
Unique identifier that is immutable on creationAttachmentSummary.Builder
lifecycleState(Attachment.LifecycleState lifecycleState)
The current state of the Attachment.AttachmentSummary.Builder
mimeType(String mimeType)
The MIME type of the uploaded data.AttachmentSummary.Builder
offerId(String offerId)
Unique identifier of the associated offer that is immutable on creationAttachmentSummary.Builder
type(Attachment.Type type)
The type of offer attachment.
-
-
-
Method Detail
-
id
public AttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
offerId
public 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
-
mimeType
public AttachmentSummary.Builder mimeType(String mimeType)
The MIME type of the uploaded data.- Parameters:
mimeType
- the value to set- Returns:
- this builder
-
displayName
public AttachmentSummary.Builder displayName(String displayName)
The name used to refer to the uploaded data.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
type
public AttachmentSummary.Builder type(Attachment.Type type)
The type of offer attachment.- Parameters:
type
- the value to set- Returns:
- this builder
-
lifecycleState
public AttachmentSummary.Builder lifecycleState(Attachment.LifecycleState lifecycleState)
The current state of the Attachment.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
freeformTags
public 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
-
definedTags
public 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
-
build
public AttachmentSummary build()
-
copy
public AttachmentSummary.Builder copy(AttachmentSummary model)
-
-