Class CaBundle.Builder
- java.lang.Object
-
- com.oracle.bmc.certificatesmanagement.model.CaBundle.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaBundlebuild()CaBundle.BuildercompartmentId(String compartmentId)The OCID of the compartment for the CA bundle.CaBundle.Buildercopy(CaBundle model)CaBundle.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CaBundle.Builderdescription(String description)A brief description of the CA bundle.CaBundle.BuilderfreeformTags(Map<String,String> freeformTags)Free-form tags for this resource.CaBundle.Builderid(String id)The OCID of the CA bundle.CaBundle.BuilderlifecycleDetails(String lifecycleDetails)Additional information about the current lifecycle state of the CA bundle.CaBundle.BuilderlifecycleState(CaBundleLifecycleState lifecycleState)The current lifecycle state of the CA bundle.CaBundle.Buildername(String name)A user-friendly name for the CA bundle.CaBundle.BuildertimeCreated(Date timeCreated)A property indicating when the CA bundle was created, expressed in RFC 3339 timestamp format.
-
-
-
Method Detail
-
id
public CaBundle.Builder id(String id)
The OCID of the CA bundle.- Parameters:
id- the value to set- Returns:
- this builder
-
name
public CaBundle.Builder name(String name)
A user-friendly name for the CA bundle.Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
- Parameters:
name- the value to set- Returns:
- this builder
-
description
public CaBundle.Builder description(String description)
A brief description of the CA bundle.- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public CaBundle.Builder timeCreated(Date timeCreated)
A property indicating when the CA bundle 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 CaBundle.Builder lifecycleState(CaBundleLifecycleState lifecycleState)
The current lifecycle state of the CA bundle.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public CaBundle.Builder lifecycleDetails(String lifecycleDetails)
Additional information about the current lifecycle state of the CA bundle.- Parameters:
lifecycleDetails- the value to set- Returns:
- this builder
-
compartmentId
public CaBundle.Builder compartmentId(String compartmentId)
The OCID of the compartment for the CA bundle.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
freeformTags
public CaBundle.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 CaBundle.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
-
build
public CaBundle build()
-
copy
public CaBundle.Builder copy(CaBundle model)
-
-