Package com.oracle.bmc.waas.model
Class CertificateSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.waas.model.CertificateSummary.Builder
-
- Enclosing class:
- CertificateSummary
public static class CertificateSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateSummarybuild()CertificateSummary.BuildercompartmentId(String compartmentId)The OCID of the SSL certificate’s compartment.CertificateSummary.Buildercopy(CertificateSummary model)CertificateSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CertificateSummary.BuilderdisplayName(String displayName)The user-friendly name of the SSL certificate.CertificateSummary.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CertificateSummary.Builderid(String id)The OCID of the SSL certificate.CertificateSummary.BuilderlifecycleState(LifecycleStates lifecycleState)The current lifecycle state of the certificate.CertificateSummary.BuildertimeCreated(Date timeCreated)The date and time the certificate was created, in the format defined by RFC3339.CertificateSummary.BuildertimeNotValidAfter(Date timeNotValidAfter)The date and time the certificate will expire, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public CertificateSummary.Builder id(String id)
The OCID of the SSL certificate.- Parameters:
id- the value to set- Returns:
- this builder
-
compartmentId
public CertificateSummary.Builder compartmentId(String compartmentId)
The OCID of the SSL certificate’s compartment.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
displayName
public CertificateSummary.Builder displayName(String displayName)
The user-friendly name of the SSL certificate.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeNotValidAfter
public CertificateSummary.Builder timeNotValidAfter(Date timeNotValidAfter)
The date and time the certificate will expire, expressed in RFC 3339 timestamp format.- Parameters:
timeNotValidAfter- the value to set- Returns:
- this builder
-
freeformTags
public CertificateSummary.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {"Department": "Finance"}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CertificateSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
lifecycleState
public CertificateSummary.Builder lifecycleState(LifecycleStates lifecycleState)
The current lifecycle state of the certificate.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
timeCreated
public CertificateSummary.Builder timeCreated(Date timeCreated)
The date and time the certificate was created, in the format defined by RFC3339.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
build
public CertificateSummary build()
-
copy
public CertificateSummary.Builder copy(CertificateSummary model)
-
-