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