Class Association.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.model.Association.Builder
-
- Enclosing class:
- Association
public static class Association.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Association.Builder
associatedResourceId(String associatedResourceId)
The OCID of the associated resource.Association.Builder
associationType(AssociationType associationType)
Type of the association.Association
build()
Association.Builder
certificatesResourceId(String certificatesResourceId)
The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.Association.Builder
compartmentId(String compartmentId)
The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.Association.Builder
copy(Association model)
Association.Builder
id(String id)
The OCID of the association.Association.Builder
lifecycleState(AssociationLifecycleState lifecycleState)
The current lifecycle state of the association.Association.Builder
name(String name)
A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.Association.Builder
timeCreated(Date timeCreated)
A property indicating when the association was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public Association.Builder id(String id)
The OCID of the association.- Parameters:
id
- the value to set- Returns:
- this builder
-
name
public Association.Builder name(String name)
A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.- Parameters:
name
- the value to set- Returns:
- this builder
-
timeCreated
public Association.Builder timeCreated(Date timeCreated)
A property indicating when the association was created, expressed in RFC 3339 timestamp format.Example: 2019-04-03T21:10:29.600Z
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
lifecycleState
public Association.Builder lifecycleState(AssociationLifecycleState lifecycleState)
The current lifecycle state of the association.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
certificatesResourceId
public Association.Builder certificatesResourceId(String certificatesResourceId)
The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.- Parameters:
certificatesResourceId
- the value to set- Returns:
- this builder
-
associatedResourceId
public Association.Builder associatedResourceId(String associatedResourceId)
The OCID of the associated resource.- Parameters:
associatedResourceId
- the value to set- Returns:
- this builder
-
compartmentId
public Association.Builder compartmentId(String compartmentId)
The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
associationType
public Association.Builder associationType(AssociationType associationType)
Type of the association.- Parameters:
associationType
- the value to set- Returns:
- this builder
-
build
public Association build()
-
copy
public Association.Builder copy(Association model)
-
-