Package com.oracle.bmc.bds.model
Class BdsCertificateConfiguration.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsCertificateConfiguration.Builder
-
- Enclosing class:
- BdsCertificateConfiguration
public static class BdsCertificateConfiguration.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsCertificateConfiguration.BuilderbdsInstanceId(String bdsInstanceId)The OCID of the bdsInstance which is the parent resource id.BdsCertificateConfigurationbuild()BdsCertificateConfiguration.BuildercertificateAuthorityId(String certificateAuthorityId)The OCID of the certificate authority which is associated with this certificate configuration.BdsCertificateConfiguration.BuildercompartmentId(String compartmentId)The OCID of the compartment of the certificate authority connecting to this certificate configuration.BdsCertificateConfiguration.Buildercopy(BdsCertificateConfiguration model)BdsCertificateConfiguration.BuilderdisplayName(String displayName)The display name of the BDS certificate configuration.BdsCertificateConfiguration.Builderid(String id)The ID of the BDS certificate configuration defined under BDS resources, not OCID.BdsCertificateConfiguration.BuilderisDefaultConfiguration(Boolean isDefaultConfiguration)If this BDS certificate configuration is a default configuration or not.BdsCertificateConfiguration.BuilderlifecycleState(BdsCertificateConfiguration.LifecycleState lifecycleState)The lifecycle status of the BDS certificate configuration.BdsCertificateConfiguration.BuildertimeCreated(Date timeCreated)The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string.BdsCertificateConfiguration.BuildertimeLastRefreshedOrGenerated(Date timeLastRefreshedOrGenerated)The last time the BDS certificate configuration was used to generate or renew the certificate(s).BdsCertificateConfiguration.BuildertimeUpdated(Date timeUpdated)The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string.BdsCertificateConfiguration.Buildertype(BdsCertificateConfiguration.Type type)The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.
-
-
-
Method Detail
-
bdsInstanceId
public BdsCertificateConfiguration.Builder bdsInstanceId(String bdsInstanceId)
The OCID of the bdsInstance which is the parent resource id.- Parameters:
bdsInstanceId- the value to set- Returns:
- this builder
-
id
public BdsCertificateConfiguration.Builder id(String id)
The ID of the BDS certificate configuration defined under BDS resources, not OCID.- Parameters:
id- the value to set- Returns:
- this builder
-
certificateAuthorityId
public BdsCertificateConfiguration.Builder certificateAuthorityId(String certificateAuthorityId)
The OCID of the certificate authority which is associated with this certificate configuration.The value is Null when this BDS certificate configuration type is SELF_SIGNED.
- Parameters:
certificateAuthorityId- the value to set- Returns:
- this builder
-
lifecycleState
public BdsCertificateConfiguration.Builder lifecycleState(BdsCertificateConfiguration.LifecycleState lifecycleState)
The lifecycle status of the BDS certificate configuration.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
displayName
public BdsCertificateConfiguration.Builder displayName(String displayName)
The display name of the BDS certificate configuration.- Parameters:
displayName- the value to set- Returns:
- this builder
-
timeLastRefreshedOrGenerated
public BdsCertificateConfiguration.Builder timeLastRefreshedOrGenerated(Date timeLastRefreshedOrGenerated)
The last time the BDS certificate configuration was used to generate or renew the certificate(s).- Parameters:
timeLastRefreshedOrGenerated- the value to set- Returns:
- this builder
-
timeCreated
public BdsCertificateConfiguration.Builder timeCreated(Date timeCreated)
The time when the BDS certificate configuration was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated- the value to set- Returns:
- this builder
-
timeUpdated
public BdsCertificateConfiguration.Builder timeUpdated(Date timeUpdated)
The time the BDS certificate configuration was updated, shown as an RFC 3339 formatted datetime string.- Parameters:
timeUpdated- the value to set- Returns:
- this builder
-
type
public BdsCertificateConfiguration.Builder type(BdsCertificateConfiguration.Type type)
The type of the BDS certificate configuration, also the type of the BDS certificates which will be generated by the BDS certificate configuration.- Parameters:
type- the value to set- Returns:
- this builder
-
isDefaultConfiguration
public BdsCertificateConfiguration.Builder isDefaultConfiguration(Boolean isDefaultConfiguration)
If this BDS certificate configuration is a default configuration or not.There will be only one Default certificate configuration per BDS cluster.
- Parameters:
isDefaultConfiguration- the value to set- Returns:
- this builder
-
compartmentId
public BdsCertificateConfiguration.Builder compartmentId(String compartmentId)
The OCID of the compartment of the certificate authority connecting to this certificate configuration.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
build
public BdsCertificateConfiguration build()
-
copy
public BdsCertificateConfiguration.Builder copy(BdsCertificateConfiguration model)
-
-