Package com.oracle.bmc.apigateway.model
Class Certificate.Builder
- java.lang.Object
- 
- com.oracle.bmc.apigateway.model.Certificate.Builder
 
- 
- Enclosing class:
- Certificate
 
 public static class Certificate.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Certificatebuild()Certificate.Buildercertificate(String certificate)The data of the leaf certificate in pem format.Certificate.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the resource is created.Certificate.Buildercopy(Certificate model)Certificate.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.Certificate.BuilderdisplayName(String displayName)A user-friendly name.Certificate.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.Certificate.Builderid(String id)The OCID of the resource.Certificate.BuilderintermediateCertificates(String intermediateCertificates)The intermediate certificate data associated with the certificate in pem format.Certificate.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Certificate.BuilderlifecycleState(Certificate.LifecycleState lifecycleState)The current state of the certificate.Certificate.Builderlocks(List<ResourceLock> locks)Locks associated with this resource.Certificate.BuildersubjectNames(List<String> subjectNames)The entity to be secured by the certificate and additional host names.Certificate.BuildersystemTags(Map<String,Map<String,Object>> systemTags)System tags for this resource.Certificate.BuildertimeCreated(Date timeCreated)The time this resource was created.Certificate.BuildertimeNotValidAfter(Date timeNotValidAfter)The date and time the certificate will expire.Certificate.BuildertimeUpdated(Date timeUpdated)The time this resource was last updated.
 
- 
- 
- 
Method Detail- 
idpublic Certificate.Builder id(String id) The OCID of the resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Certificate.Builder displayName(String displayName) A user-friendly name.Does not have to be unique, and it’s changeable. Avoid entering confidential information. Example: My new resource - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic Certificate.Builder compartmentId(String compartmentId) The OCID of the compartment in which the resource is created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
subjectNamespublic Certificate.Builder subjectNames(List<String> subjectNames) The entity to be secured by the certificate and additional host names.- Parameters:
- subjectNames- the value to set
- Returns:
- this builder
 
 - 
timeNotValidAfterpublic Certificate.Builder timeNotValidAfter(Date timeNotValidAfter) The date and time the certificate will expire.- Parameters:
- timeNotValidAfter- the value to set
- Returns:
- this builder
 
 - 
certificatepublic Certificate.Builder certificate(String certificate) The data of the leaf certificate in pem format.- Parameters:
- certificate- the value to set
- Returns:
- this builder
 
 - 
intermediateCertificatespublic Certificate.Builder intermediateCertificates(String intermediateCertificates) The intermediate certificate data associated with the certificate in pem format.- Parameters:
- intermediateCertificates- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic Certificate.Builder timeCreated(Date timeCreated) The time this resource was created.An RFC3339 formatted datetime string. - Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic Certificate.Builder timeUpdated(Date timeUpdated) The time this resource was last updated.An RFC3339 formatted datetime string. - Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lockspublic Certificate.Builder locks(List<ResourceLock> locks) Locks associated with this resource.- Parameters:
- locks- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic Certificate.Builder lifecycleState(Certificate.LifecycleState lifecycleState) The current state of the certificate.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic Certificate.Builder lifecycleDetails(String lifecycleDetails) A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in a Failed state. - Parameters:
- lifecycleDetails- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic Certificate.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
 
 - 
definedTagspublic Certificate.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
 
 - 
systemTagspublic Certificate.Builder systemTags(Map<String,Map<String,Object>> systemTags) System tags for this resource.Each key is predefined and scoped to a namespace. Example: {“orcl-cloud”: {“free-tier-retained”: “true”}} - Parameters:
- systemTags- the value to set
- Returns:
- this builder
 
 - 
buildpublic Certificate build() 
 - 
copypublic Certificate.Builder copy(Certificate model) 
 
- 
 
-