Class AddKmipClientCertificateOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.AddKmipClientCertificateOptions.Builder
-
- Enclosing class:
- AddKmipClientCertificateOptions
public static class AddKmipClientCertificateOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String adapterId, String bluemixInstance, CollectionMetadata metadata, List<CreateKMIPClientCertificateObject> resources)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AddKmipClientCertificateOptions.Builder
adapterId(String adapterId)
Set the adapterId.AddKmipClientCertificateOptions.Builder
addResources(CreateKMIPClientCertificateObject resources)
Adds a new element to resources.AddKmipClientCertificateOptions.Builder
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.AddKmipClientCertificateOptions
build()
Builds a AddKmipClientCertificateOptions.AddKmipClientCertificateOptions.Builder
correlationId(String correlationId)
Set the correlationId.AddKmipClientCertificateOptions.Builder
metadata(CollectionMetadata metadata)
Set the metadata.AddKmipClientCertificateOptions.Builder
resources(List<CreateKMIPClientCertificateObject> resources)
Set the resources.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String adapterId, String bluemixInstance, CollectionMetadata metadata, List<CreateKMIPClientCertificateObject> resources)
Instantiates a new builder with required properties.- Parameters:
adapterId
- the adapterIdbluemixInstance
- the bluemixInstancemetadata
- the metadataresources
- the resources
-
-
Method Detail
-
build
public AddKmipClientCertificateOptions build()
Builds a AddKmipClientCertificateOptions.- Returns:
- the new AddKmipClientCertificateOptions instance
-
addResources
public AddKmipClientCertificateOptions.Builder addResources(CreateKMIPClientCertificateObject resources)
Adds a new element to resources.- Parameters:
resources
- the new element to be added- Returns:
- the AddKmipClientCertificateOptions builder
-
adapterId
public AddKmipClientCertificateOptions.Builder adapterId(String adapterId)
Set the adapterId.- Parameters:
adapterId
- the adapterId- Returns:
- the AddKmipClientCertificateOptions builder
-
bluemixInstance
public AddKmipClientCertificateOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance
- the bluemixInstance- Returns:
- the AddKmipClientCertificateOptions builder
-
metadata
public AddKmipClientCertificateOptions.Builder metadata(CollectionMetadata metadata)
Set the metadata.- Parameters:
metadata
- the metadata- Returns:
- the AddKmipClientCertificateOptions builder
-
resources
public AddKmipClientCertificateOptions.Builder resources(List<CreateKMIPClientCertificateObject> resources)
Set the resources. Existing resources will be replaced.- Parameters:
resources
- the resources- Returns:
- the AddKmipClientCertificateOptions builder
-
correlationId
public AddKmipClientCertificateOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId
- the correlationId- Returns:
- the AddKmipClientCertificateOptions builder
-
-