Package com.oracle.bmc.goldengate.model
Class CertificateSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.goldengate.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 CertificateSummary
build()
CertificateSummary.Builder
copy(CertificateSummary model)
CertificateSummary.Builder
isSelfSigned(Boolean isSelfSigned)
Indicates if the certificate is self signed.CertificateSummary.Builder
key(String key)
The identifier key (unique name in the scope of the deployment) of the certificate being referenced.CertificateSummary.Builder
lifecycleState(CertificateLifecycleState lifecycleState)
Possible certificate lifecycle states.CertificateSummary.Builder
subject(String subject)
The Certificate subject.CertificateSummary.Builder
timeCreated(Date timeCreated)
The time the resource was created.CertificateSummary.Builder
timeValidTo(Date timeValidTo)
The time the certificate is valid to.
-
-
-
Method Detail
-
key
public CertificateSummary.Builder key(String key)
The identifier key (unique name in the scope of the deployment) of the certificate being referenced.It must be 1 to 32 characters long, must contain only alphanumeric characters and must start with a letter.
- Parameters:
key
- the value to set- Returns:
- this builder
-
lifecycleState
public CertificateSummary.Builder lifecycleState(CertificateLifecycleState lifecycleState)
Possible certificate lifecycle states.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
subject
public CertificateSummary.Builder subject(String subject)
The Certificate subject.- Parameters:
subject
- the value to set- Returns:
- this builder
-
isSelfSigned
public CertificateSummary.Builder isSelfSigned(Boolean isSelfSigned)
Indicates if the certificate is self signed.- Parameters:
isSelfSigned
- the value to set- Returns:
- this builder
-
timeValidTo
public CertificateSummary.Builder timeValidTo(Date timeValidTo)
The time the certificate is valid to.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeValidTo
- the value to set- Returns:
- this builder
-
timeCreated
public CertificateSummary.Builder timeCreated(Date timeCreated)
The time the resource was created.The format is defined by RFC3339, such as 2016-08-25T21:10:29.600Z.
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public CertificateSummary build()
-
copy
public CertificateSummary.Builder copy(CertificateSummary model)
-
-