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.Builder
addState(Long state)
Adds a new element to state.GetKeyCollectionMetadataOptions.Builder
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.GetKeyCollectionMetadataOptions
build()
Builds a GetKeyCollectionMetadataOptions.GetKeyCollectionMetadataOptions.Builder
correlationId(String correlationId)
Set the correlationId.GetKeyCollectionMetadataOptions.Builder
extractable(Boolean extractable)
Set the extractable.GetKeyCollectionMetadataOptions.Builder
filter(String filter)
Set the filter.GetKeyCollectionMetadataOptions.Builder
state(List<Long> state)
Set the state.GetKeyCollectionMetadataOptions.Builder
xKmsKeyRing(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
-
-