Package com.oracle.bmc.integration.model
Class AttachmentDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.integration.model.AttachmentDetails.Builder
-
- Enclosing class:
- AttachmentDetails
public static class AttachmentDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentDetails
build()
AttachmentDetails.Builder
copy(AttachmentDetails model)
AttachmentDetails.Builder
isImplicit(Boolean isImplicit)
- If role == PARENT, the attached instance was created by this service instance * If role == CHILD, this instance was created from attached instance on behalf of a user
AttachmentDetails.Builder
targetId(String targetId)
The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this instance is attached.AttachmentDetails.Builder
targetInstanceUrl(String targetInstanceUrl)
The dataplane instance URL of the attached instanceAttachmentDetails.Builder
targetRole(AttachmentDetails.TargetRole targetRole)
The role of the target attachment.AttachmentDetails.Builder
targetServiceType(String targetServiceType)
The type of the target instance, such as “FUSION”.
-
-
-
Method Detail
-
targetRole
public AttachmentDetails.Builder targetRole(AttachmentDetails.TargetRole targetRole)
The role of the target attachment.- PARENT - The target instance is the parent of this attachment. * CHILD - The target instance is the child of this attachment.
- Parameters:
targetRole
- the value to set- Returns:
- this builder
-
isImplicit
public AttachmentDetails.Builder isImplicit(Boolean isImplicit)
- If role == PARENT, the attached instance was created by this service instance * If role == CHILD, this instance was created from attached instance on behalf of a user
- Parameters:
isImplicit
- the value to set- Returns:
- this builder
-
targetId
public AttachmentDetails.Builder targetId(String targetId)
The OCID of the target instance (which could be any other OCI PaaS/SaaS resource), to which this instance is attached.- Parameters:
targetId
- the value to set- Returns:
- this builder
-
targetInstanceUrl
public AttachmentDetails.Builder targetInstanceUrl(String targetInstanceUrl)
The dataplane instance URL of the attached instance- Parameters:
targetInstanceUrl
- the value to set- Returns:
- this builder
-
targetServiceType
public AttachmentDetails.Builder targetServiceType(String targetServiceType)
The type of the target instance, such as “FUSION”.- Parameters:
targetServiceType
- the value to set- Returns:
- this builder
-
build
public AttachmentDetails build()
-
copy
public AttachmentDetails.Builder copy(AttachmentDetails model)
-
-