Class PostImportTokenOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.PostImportTokenOptions.Builder
-
- Enclosing class:
- PostImportTokenOptions
public static class PostImportTokenOptions.Builder extends Object
Builder.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostImportTokenOptions.Builder
bluemixInstance(String bluemixInstance)
Set the bluemixInstance.PostImportTokenOptions
build()
Builds a PostImportTokenOptions.PostImportTokenOptions.Builder
correlationId(String correlationId)
Set the correlationId.PostImportTokenOptions.Builder
expiration(Double expiration)
Set the expiration.PostImportTokenOptions.Builder
importToken(ImportToken importToken)
Set the importToken.PostImportTokenOptions.Builder
maxAllowedRetrievals(Double maxAllowedRetrievals)
Set the maxAllowedRetrievals.PostImportTokenOptions.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 PostImportTokenOptions build()
Builds a PostImportTokenOptions.- Returns:
- the new PostImportTokenOptions instance
-
bluemixInstance
public PostImportTokenOptions.Builder bluemixInstance(String bluemixInstance)
Set the bluemixInstance.- Parameters:
bluemixInstance
- the bluemixInstance- Returns:
- the PostImportTokenOptions builder
-
expiration
public PostImportTokenOptions.Builder expiration(Double expiration)
Set the expiration.- Parameters:
expiration
- the expiration- Returns:
- the PostImportTokenOptions builder
-
maxAllowedRetrievals
public PostImportTokenOptions.Builder maxAllowedRetrievals(Double maxAllowedRetrievals)
Set the maxAllowedRetrievals.- Parameters:
maxAllowedRetrievals
- the maxAllowedRetrievals- Returns:
- the PostImportTokenOptions builder
-
correlationId
public PostImportTokenOptions.Builder correlationId(String correlationId)
Set the correlationId.- Parameters:
correlationId
- the correlationId- Returns:
- the PostImportTokenOptions builder
-
xKmsKeyRing
public PostImportTokenOptions.Builder xKmsKeyRing(String xKmsKeyRing)
Set the xKmsKeyRing.- Parameters:
xKmsKeyRing
- the xKmsKeyRing- Returns:
- the PostImportTokenOptions builder
-
importToken
public PostImportTokenOptions.Builder importToken(ImportToken importToken)
Set the importToken.- Parameters:
importToken
- the importToken- Returns:
- the PostImportTokenOptions builder
-
-