Class GetKeyVersionsOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.GetKeyVersionsOptions.Builder
-
- Enclosing class:
- GetKeyVersionsOptions
public static class GetKeyVersionsOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetKeyVersionsOptions.BuilderallKeyStates(Boolean allKeyStates)Set the allKeyStates.GetKeyVersionsOptions.BuilderbluemixInstance(String bluemixInstance)Set the bluemixInstance.GetKeyVersionsOptionsbuild()Builds a GetKeyVersionsOptions.GetKeyVersionsOptions.BuildercorrelationId(String correlationId)Set the correlationId.GetKeyVersionsOptions.Builderid(String id)Set the id.GetKeyVersionsOptions.Builderlimit(long limit)Set the limit.GetKeyVersionsOptions.Builderoffset(long offset)Set the offset.GetKeyVersionsOptions.BuildertotalCount(Boolean totalCount)Set the totalCount.GetKeyVersionsOptions.BuilderxKmsKeyRing(String xKmsKeyRing)Set the xKmsKeyRing.
-
-
-
Method Detail
-
build
public GetKeyVersionsOptions build()
Builds a GetKeyVersionsOptions.- Returns:
- the new GetKeyVersionsOptions instance
-
id
public GetKeyVersionsOptions.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the GetKeyVersionsOptions builder
-
bluemixInstance
public GetKeyVersionsOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance- the bluemixInstance- Returns:
- the GetKeyVersionsOptions builder
-
correlationId
public GetKeyVersionsOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId- the correlationId- Returns:
- the GetKeyVersionsOptions builder
-
xKmsKeyRing
public GetKeyVersionsOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing- the xKmsKeyRing- Returns:
- the GetKeyVersionsOptions builder
-
limit
public GetKeyVersionsOptions.Builder limit(long limit)
Set the limit.- Parameters:
limit- the limit- Returns:
- the GetKeyVersionsOptions builder
-
offset
public GetKeyVersionsOptions.Builder offset(long offset)
Set the offset.- Parameters:
offset- the offset- Returns:
- the GetKeyVersionsOptions builder
-
totalCount
public GetKeyVersionsOptions.Builder totalCount(Boolean totalCount)
Set the totalCount.- Parameters:
totalCount- the totalCount- Returns:
- the GetKeyVersionsOptions builder
-
allKeyStates
public GetKeyVersionsOptions.Builder allKeyStates(Boolean allKeyStates)
Set the allKeyStates.- Parameters:
allKeyStates- the allKeyStates- Returns:
- the GetKeyVersionsOptions builder
-
-