Class ImportToken.Builder
- java.lang.Object
-
- com.ibm.cloud.ibm_key_protect_api.v2.model.ImportToken.Builder
-
- Enclosing class:
- ImportToken
public static class ImportToken.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImportToken
build()
Builds a ImportToken.ImportToken.Builder
expiration(Double expiration)
Set the expiration.ImportToken.Builder
maxAllowedRetrievals(Double maxAllowedRetrievals)
Set the maxAllowedRetrievals.
-
-
-
Method Detail
-
build
public ImportToken build()
Builds a ImportToken.- Returns:
- the new ImportToken instance
-
expiration
public ImportToken.Builder expiration(Double expiration)
Set the expiration.- Parameters:
expiration
- the expiration- Returns:
- the ImportToken builder
-
maxAllowedRetrievals
public ImportToken.Builder maxAllowedRetrievals(Double maxAllowedRetrievals)
Set the maxAllowedRetrievals.- Parameters:
maxAllowedRetrievals
- the maxAllowedRetrievals- Returns:
- the ImportToken builder
-
-