Class GetKeyCollectionMetadataOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.GetKeyCollectionMetadataOptions.Builder
-
- Enclosing class:
- GetKeyCollectionMetadataOptions
public static class GetKeyCollectionMetadataOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetKeyCollectionMetadataOptions.BuilderaddState(Long state)Adds a new element to state.GetKeyCollectionMetadataOptions.BuilderbluemixInstance(String bluemixInstance)Set the bluemixInstance.GetKeyCollectionMetadataOptionsbuild()Builds a GetKeyCollectionMetadataOptions.GetKeyCollectionMetadataOptions.BuildercorrelationId(String correlationId)Set the correlationId.GetKeyCollectionMetadataOptions.Builderextractable(Boolean extractable)Set the extractable.GetKeyCollectionMetadataOptions.Builderfilter(String filter)Set the filter.GetKeyCollectionMetadataOptions.Builderstate(List<Long> state)Set the state.GetKeyCollectionMetadataOptions.BuilderxKmsKeyRing(String xKmsKeyRing)Set the xKmsKeyRing.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String bluemixInstance)
Instantiates a new builder with required properties.- Parameters:
bluemixInstance- the bluemixInstance
-
-
Method Detail
-
build
public GetKeyCollectionMetadataOptions build()
Builds a GetKeyCollectionMetadataOptions.- Returns:
- the new GetKeyCollectionMetadataOptions instance
-
addState
public GetKeyCollectionMetadataOptions.Builder addState(Long state)
Adds a new element to state.- Parameters:
state- the new element to be added- Returns:
- the GetKeyCollectionMetadataOptions builder
-
bluemixInstance
public GetKeyCollectionMetadataOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance- the bluemixInstance- Returns:
- the GetKeyCollectionMetadataOptions builder
-
correlationId
public GetKeyCollectionMetadataOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId- the correlationId- Returns:
- the GetKeyCollectionMetadataOptions builder
-
state
public GetKeyCollectionMetadataOptions.Builder state(List<Long> state)
Set the state. Existing state will be replaced.- Parameters:
state- the state- Returns:
- the GetKeyCollectionMetadataOptions builder
-
extractable
public GetKeyCollectionMetadataOptions.Builder extractable(Boolean extractable)
Set the extractable.- Parameters:
extractable- the extractable- Returns:
- the GetKeyCollectionMetadataOptions builder
-
filter
public GetKeyCollectionMetadataOptions.Builder filter(String filter)
Set the filter.- Parameters:
filter- the filter- Returns:
- the GetKeyCollectionMetadataOptions builder
-
xKmsKeyRing
public GetKeyCollectionMetadataOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing- the xKmsKeyRing- Returns:
- the GetKeyCollectionMetadataOptions builder
-
-