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