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