public static class AttachmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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 creation
|
AttachmentSummary.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 creation
|
AttachmentSummary.Builder |
type(Attachment.Type type)
The type of offer attachment.
|
public AttachmentSummary.Builder id(String id)
Unique identifier that is immutable on creation
id
- the value to setpublic AttachmentSummary.Builder offerId(String offerId)
Unique identifier of the associated offer that is immutable on creation
offerId
- the value to setpublic AttachmentSummary.Builder mimeType(String mimeType)
The MIME type of the uploaded data.
mimeType
- the value to setpublic AttachmentSummary.Builder displayName(String displayName)
The name used to refer to the uploaded data.
displayName
- the value to setpublic AttachmentSummary.Builder type(Attachment.Type type)
The type of offer attachment.
type
- the value to setpublic AttachmentSummary.Builder lifecycleState(Attachment.LifecycleState lifecycleState)
The current state of the Attachment.
lifecycleState
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic AttachmentSummary build()
public AttachmentSummary.Builder copy(AttachmentSummary model)
Copyright © 2016–2024. All rights reserved.