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