Package com.oracle.bmc.bds.model
Class BdsApiKeySummary.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsApiKeySummary.Builder
-
- Enclosing class:
- BdsApiKeySummary
public static class BdsApiKeySummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsApiKeySummary
build()
BdsApiKeySummary.Builder
copy(BdsApiKeySummary model)
BdsApiKeySummary.Builder
defaultRegion(String defaultRegion)
The name of the region to establish the Object Storage endpoint which was set as part of key creation operation.BdsApiKeySummary.Builder
id(String id)
Identifier of the user’s API key.BdsApiKeySummary.Builder
keyAlias(String keyAlias)
User friendly identifier used to uniquely differentiate between different API keys.BdsApiKeySummary.Builder
lifecycleState(BdsApiKey.LifecycleState lifecycleState)
The current status of the API key.BdsApiKeySummary.Builder
timeCreated(Date timeCreated)
The time the API key was created, shown as an RFC 3339 formatted datetime string.
-
-
-
Method Detail
-
id
public BdsApiKeySummary.Builder id(String id)
Identifier of the user’s API key.- Parameters:
id
- the value to set- Returns:
- this builder
-
keyAlias
public BdsApiKeySummary.Builder keyAlias(String keyAlias)
User friendly identifier used to uniquely differentiate between different API keys.Only ASCII alphanumeric characters with no spaces allowed.
- Parameters:
keyAlias
- the value to set- Returns:
- this builder
-
lifecycleState
public BdsApiKeySummary.Builder lifecycleState(BdsApiKey.LifecycleState lifecycleState)
The current status of the API key.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
defaultRegion
public BdsApiKeySummary.Builder defaultRegion(String defaultRegion)
The name of the region to establish the Object Storage endpoint which was set as part of key creation operation.If no region was provided this will be set to be the same region where the cluster lives. Example us-phoenix-1 .
- Parameters:
defaultRegion
- the value to set- Returns:
- this builder
-
timeCreated
public BdsApiKeySummary.Builder timeCreated(Date timeCreated)
The time the API key was created, shown as an RFC 3339 formatted datetime string.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
build
public BdsApiKeySummary build()
-
copy
public BdsApiKeySummary.Builder copy(BdsApiKeySummary model)
-
-