Class PublicCertificateMetadataPatch.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PublicCertificateMetadataPatch.Builder
-
- Enclosing class:
- PublicCertificateMetadataPatch
public static class PublicCertificateMetadataPatch.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(SecretMetadataPatch publicCertificateMetadataPatch)Instantiates a new Builder from an existing PublicCertificateMetadataPatch instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicCertificateMetadataPatch.BuilderaddLabels(String labels)Adds a new element to labels.PublicCertificateMetadataPatchbuild()Builds a PublicCertificateMetadataPatch.PublicCertificateMetadataPatch.BuildercustomMetadata(Map<String,Object> customMetadata)Set the customMetadata.PublicCertificateMetadataPatch.Builderdescription(String description)Set the description.PublicCertificateMetadataPatch.Builderlabels(List<String> labels)Set the labels.PublicCertificateMetadataPatch.Buildername(String name)Set the name.PublicCertificateMetadataPatch.Builderrotation(RotationPolicy rotation)Set the rotation.
-
-
-
Constructor Detail
-
Builder
public Builder(SecretMetadataPatch publicCertificateMetadataPatch)
Instantiates a new Builder from an existing PublicCertificateMetadataPatch instance.- Parameters:
publicCertificateMetadataPatch- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
-
Method Detail
-
build
public PublicCertificateMetadataPatch build()
Builds a PublicCertificateMetadataPatch.- Returns:
- the new PublicCertificateMetadataPatch instance
-
addLabels
public PublicCertificateMetadataPatch.Builder addLabels(String labels)
Adds a new element to labels.- Parameters:
labels- the new element to be added- Returns:
- the PublicCertificateMetadataPatch builder
-
name
public PublicCertificateMetadataPatch.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the PublicCertificateMetadataPatch builder
-
description
public PublicCertificateMetadataPatch.Builder description(String description)
Set the description.- Parameters:
description- the description- Returns:
- the PublicCertificateMetadataPatch builder
-
labels
public PublicCertificateMetadataPatch.Builder labels(List<String> labels)
Set the labels. Existing labels will be replaced.- Parameters:
labels- the labels- Returns:
- the PublicCertificateMetadataPatch builder
-
customMetadata
public PublicCertificateMetadataPatch.Builder customMetadata(Map<String,Object> customMetadata)
Set the customMetadata.- Parameters:
customMetadata- the customMetadata- Returns:
- the PublicCertificateMetadataPatch builder
-
rotation
public PublicCertificateMetadataPatch.Builder rotation(RotationPolicy rotation)
Set the rotation.- Parameters:
rotation- the rotation- Returns:
- the PublicCertificateMetadataPatch builder
-
-