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.BuilderaddState(Long state)Adds a new element to state.GetKeysOptions.BuilderbluemixInstance(String bluemixInstance)Set the bluemixInstance.GetKeysOptionsbuild()Builds a GetKeysOptions.GetKeysOptions.BuildercorrelationId(String correlationId)Set the correlationId.GetKeysOptions.Builderextractable(Boolean extractable)Set the extractable.GetKeysOptions.Builderfilter(String filter)Set the filter.GetKeysOptions.Builderlimit(long limit)Set the limit.GetKeysOptions.Builderoffset(long offset)Set the offset.GetKeysOptions.Buildersearch(String search)Set the search.GetKeysOptions.Buildersort(String sort)Set the sort.GetKeysOptions.Builderstate(List<Long> state)Set the state.GetKeysOptions.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 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
-
-