public static class OdaInstanceAttachmentSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
OdaInstanceAttachmentSummary.Builder |
attachmentMetadata(String attachmentMetadata)
Attachment-specific metadata, defined by the target service.
|
OdaInstanceAttachmentSummary.Builder |
attachmentType(OdaInstanceAttachmentSummary.AttachmentType attachmentType)
The type of attachment defined as an enum.
|
OdaInstanceAttachmentSummary.Builder |
attachToId(String attachToId)
The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to
which the ODA instance is or is being attached.
|
OdaInstanceAttachmentSummary |
build() |
OdaInstanceAttachmentSummary.Builder |
copy(OdaInstanceAttachmentSummary model) |
OdaInstanceAttachmentSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys.
|
OdaInstanceAttachmentSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
|
OdaInstanceAttachmentSummary.Builder |
id(String id)
Unique immutable identifier that was assigned when the ODA instance attachment was
created.
|
OdaInstanceAttachmentSummary.Builder |
instanceId(String instanceId)
The OCID of the ODA instance to which the attachment applies.
|
OdaInstanceAttachmentSummary.Builder |
lifecycleState(OdaInstanceAttachment.LifecycleState lifecycleState)
The current state of the attachment.
|
OdaInstanceAttachmentSummary.Builder |
owner(OdaInstanceOwner owner) |
OdaInstanceAttachmentSummary.Builder |
restrictedOperations(List<String> restrictedOperations)
List of operation names that are restricted while this ODA instance is attached.
|
OdaInstanceAttachmentSummary.Builder |
timeCreated(Date timeCreated)
The time the attachment was created.
|
OdaInstanceAttachmentSummary.Builder |
timeLastUpdate(Date timeLastUpdate)
The time the attachment was last modified.
|
public OdaInstanceAttachmentSummary.Builder id(String id)
Unique immutable identifier that was assigned when the ODA instance attachment was created.
id
- the value to setpublic OdaInstanceAttachmentSummary.Builder instanceId(String instanceId)
The OCID of the ODA instance to which the attachment applies.
instanceId
- the value to setpublic OdaInstanceAttachmentSummary.Builder attachToId(String attachToId)
The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which the ODA instance is or is being attached.
attachToId
- the value to setpublic OdaInstanceAttachmentSummary.Builder attachmentType(OdaInstanceAttachmentSummary.AttachmentType attachmentType)
The type of attachment defined as an enum.
attachmentType
- the value to setpublic OdaInstanceAttachmentSummary.Builder attachmentMetadata(String attachmentMetadata)
Attachment-specific metadata, defined by the target service.
attachmentMetadata
- the value to setpublic OdaInstanceAttachmentSummary.Builder restrictedOperations(List<String> restrictedOperations)
List of operation names that are restricted while this ODA instance is attached.
restrictedOperations
- the value to setpublic OdaInstanceAttachmentSummary.Builder owner(OdaInstanceOwner owner)
public OdaInstanceAttachmentSummary.Builder timeCreated(Date timeCreated)
The time the attachment was created. An RFC3339 formatted datetime string
timeCreated
- the value to setpublic OdaInstanceAttachmentSummary.Builder timeLastUpdate(Date timeLastUpdate)
The time the attachment was last modified. An RFC3339 formatted datetime string
timeLastUpdate
- the value to setpublic OdaInstanceAttachmentSummary.Builder lifecycleState(OdaInstanceAttachment.LifecycleState lifecycleState)
The current state of the attachment.
lifecycleState
- the value to setpublic OdaInstanceAttachmentSummary.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type, or scope.
Example: {"bar-key": "value"}
freeformTags
- the value to setpublic OdaInstanceAttachmentSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example:
{"foo-namespace": {"bar-key": "value"}}
definedTags
- the value to setpublic OdaInstanceAttachmentSummary build()
public OdaInstanceAttachmentSummary.Builder copy(OdaInstanceAttachmentSummary model)
Copyright © 2016–2024. All rights reserved.