Package com.oracle.bmc.oda.model
Class OdaInstanceAttachmentSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.model.OdaInstanceAttachmentSummary.Builder
-
- Enclosing class:
- OdaInstanceAttachmentSummary
public static class OdaInstanceAttachmentSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OdaInstanceAttachmentSummary.BuilderattachmentMetadata(String attachmentMetadata)Attachment-specific metadata, defined by the target service.OdaInstanceAttachmentSummary.BuilderattachmentType(OdaInstanceAttachmentSummary.AttachmentType attachmentType)The type of attachment defined as an enum.OdaInstanceAttachmentSummary.BuilderattachToId(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.OdaInstanceAttachmentSummarybuild()OdaInstanceAttachmentSummary.Buildercopy(OdaInstanceAttachmentSummary model)OdaInstanceAttachmentSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Usage of predefined tag keys.OdaInstanceAttachmentSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type, or scope.OdaInstanceAttachmentSummary.Builderid(String id)Unique immutable identifier that was assigned when the ODA instance attachment was created.OdaInstanceAttachmentSummary.BuilderinstanceId(String instanceId)The OCID of the ODA instance to which the attachment applies.OdaInstanceAttachmentSummary.BuilderlifecycleState(OdaInstanceAttachment.LifecycleState lifecycleState)The current state of the attachment.OdaInstanceAttachmentSummary.Builderowner(OdaInstanceOwner owner)OdaInstanceAttachmentSummary.BuilderrestrictedOperations(List<String> restrictedOperations)List of operation names that are restricted while this ODA instance is attached.OdaInstanceAttachmentSummary.BuildertimeCreated(Date timeCreated)The time the attachment was created.OdaInstanceAttachmentSummary.BuildertimeLastUpdate(Date timeLastUpdate)The time the attachment was last modified.
-
-
-
Method Detail
-
id
public OdaInstanceAttachmentSummary.Builder id(String id)
Unique immutable identifier that was assigned when the ODA instance attachment was created.- Parameters:
id- the value to set- Returns:
- this builder
-
instanceId
public OdaInstanceAttachmentSummary.Builder instanceId(String instanceId)
The OCID of the ODA instance to which the attachment applies.- Parameters:
instanceId- the value to set- Returns:
- this builder
-
attachToId
public 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.- Parameters:
attachToId- the value to set- Returns:
- this builder
-
attachmentType
public OdaInstanceAttachmentSummary.Builder attachmentType(OdaInstanceAttachmentSummary.AttachmentType attachmentType)
The type of attachment defined as an enum.- Parameters:
attachmentType- the value to set- Returns:
- this builder
-
attachmentMetadata
public OdaInstanceAttachmentSummary.Builder attachmentMetadata(String attachmentMetadata)
Attachment-specific metadata, defined by the target service.- Parameters:
attachmentMetadata- the value to set- Returns:
- this builder
-
restrictedOperations
public OdaInstanceAttachmentSummary.Builder restrictedOperations(List<String> restrictedOperations)
List of operation names that are restricted while this ODA instance is attached.- Parameters:
restrictedOperations- the value to set- Returns:
- this builder
-
owner
public OdaInstanceAttachmentSummary.Builder owner(OdaInstanceOwner owner)
-
timeCreated
public OdaInstanceAttachmentSummary.Builder timeCreated(Date timeCreated)
The time the attachment was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeLastUpdate
public OdaInstanceAttachmentSummary.Builder timeLastUpdate(Date timeLastUpdate)
The time the attachment was last modified.An RFC3339 formatted datetime string
- Parameters:
timeLastUpdate- the value to set- Returns:
- this builder
-
lifecycleState
public OdaInstanceAttachmentSummary.Builder lifecycleState(OdaInstanceAttachment.LifecycleState lifecycleState)
The current state of the attachment.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
freeformTags
public 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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public 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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public OdaInstanceAttachmentSummary build()
-
copy
public OdaInstanceAttachmentSummary.Builder copy(OdaInstanceAttachmentSummary model)
-
-