public static class BdsApiKeySummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and 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.
|
public BdsApiKeySummary.Builder id(String id)
Identifier of the user’s API key.
id
- the value to setpublic BdsApiKeySummary.Builder keyAlias(String keyAlias)
User friendly identifier used to uniquely differentiate between different API keys. Only ASCII alphanumeric characters with no spaces allowed.
keyAlias
- the value to setpublic BdsApiKeySummary.Builder lifecycleState(BdsApiKey.LifecycleState lifecycleState)
The current status of the API key.
lifecycleState
- the value to setpublic 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 .
defaultRegion
- the value to setpublic BdsApiKeySummary.Builder timeCreated(Date timeCreated)
The time the API key was created, shown as an RFC 3339 formatted datetime string.
timeCreated
- the value to setpublic BdsApiKeySummary build()
public BdsApiKeySummary.Builder copy(BdsApiKeySummary model)
Copyright © 2016–2024. All rights reserved.