Class GetKeysOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.GetKeysOptions.Builder
-
- Enclosing class:
- GetKeysOptions
public static class GetKeysOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetKeysOptions.Builder
addState(Long state)
Adds a new element to state.GetKeysOptions.Builder
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.GetKeysOptions
build()
Builds a GetKeysOptions.GetKeysOptions.Builder
correlationId(String correlationId)
Set the correlationId.GetKeysOptions.Builder
extractable(Boolean extractable)
Set the extractable.GetKeysOptions.Builder
filter(String filter)
Set the filter.GetKeysOptions.Builder
limit(long limit)
Set the limit.GetKeysOptions.Builder
offset(long offset)
Set the offset.GetKeysOptions.Builder
search(String search)
Set the search.GetKeysOptions.Builder
sort(String sort)
Set the sort.GetKeysOptions.Builder
state(List<Long> state)
Set the state.GetKeysOptions.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 GetKeysOptions build()
Builds a GetKeysOptions.- Returns:
- the new GetKeysOptions instance
-
addState
public GetKeysOptions.Builder addState(Long state)
Adds a new element to state.- Parameters:
state
- the new element to be added- Returns:
- the GetKeysOptions builder
-
bluemixInstance
public GetKeysOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance
- the bluemixInstance- Returns:
- the GetKeysOptions builder
-
correlationId
public GetKeysOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId
- the correlationId- Returns:
- the GetKeysOptions builder
-
limit
public GetKeysOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit
- the limit- Returns:
- the GetKeysOptions builder
-
offset
public GetKeysOptions.Builder offset(long offset)
Set the offset.- Parameters:
offset
- the offset- Returns:
- the GetKeysOptions builder
-
state
public GetKeysOptions.Builder state(List<Long> state)
Set the state. Existing state will be replaced.- Parameters:
state
- the state- Returns:
- the GetKeysOptions builder
-
extractable
public GetKeysOptions.Builder extractable(Boolean extractable)
Set the extractable.- Parameters:
extractable
- the extractable- Returns:
- the GetKeysOptions builder
-
search
public GetKeysOptions.Builder search(String search)
Set the search.- Parameters:
search
- the search- Returns:
- the GetKeysOptions builder
-
sort
public GetKeysOptions.Builder sort(String sort)
Set the sort.- Parameters:
sort
- the sort- Returns:
- the GetKeysOptions builder
-
filter
public GetKeysOptions.Builder filter(String filter)
Set the filter.- Parameters:
filter
- the filter- Returns:
- the GetKeysOptions builder
-
xKmsKeyRing
public GetKeysOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing
- the xKmsKeyRing- Returns:
- the GetKeysOptions builder
-
-