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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll 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- 
idpublic 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
 
 - 
instanceIdpublic 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
 
 - 
attachToIdpublic 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
 
 - 
attachmentTypepublic OdaInstanceAttachmentSummary.Builder attachmentType(OdaInstanceAttachmentSummary.AttachmentType attachmentType) The type of attachment defined as an enum.- Parameters:
- attachmentType- the value to set
- Returns:
- this builder
 
 - 
attachmentMetadatapublic OdaInstanceAttachmentSummary.Builder attachmentMetadata(String attachmentMetadata) Attachment-specific metadata, defined by the target service.- Parameters:
- attachmentMetadata- the value to set
- Returns:
- this builder
 
 - 
restrictedOperationspublic 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
 
 - 
ownerpublic OdaInstanceAttachmentSummary.Builder owner(OdaInstanceOwner owner) 
 - 
timeCreatedpublic 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
 
 - 
timeLastUpdatepublic 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
 
 - 
lifecycleStatepublic OdaInstanceAttachmentSummary.Builder lifecycleState(OdaInstanceAttachment.LifecycleState lifecycleState) The current state of the attachment.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic 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
 
 - 
definedTagspublic 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
 
 - 
buildpublic OdaInstanceAttachmentSummary build() 
 - 
copypublic OdaInstanceAttachmentSummary.Builder copy(OdaInstanceAttachmentSummary model) 
 
- 
 
-