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