Package com.oracle.bmc.bds.model
Class BdsApiKey.Builder
- java.lang.Object
-
- com.oracle.bmc.bds.model.BdsApiKey.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BdsApiKey
build()
BdsApiKey.Builder
copy(BdsApiKey model)
BdsApiKey.Builder
defaultRegion(String defaultRegion)
The name of the region to establish the Object Storage endpoint.BdsApiKey.Builder
domainOcid(String domainOcid)
Identity domain OCID ,where user is present.BdsApiKey.Builder
fingerprint(String fingerprint)
The fingerprint that corresponds to the public API key requested.BdsApiKey.Builder
id(String id)
Identifier of the user’s API key.BdsApiKey.Builder
keyAlias(String keyAlias)
User friendly identifier used to uniquely differentiate between different API keys.BdsApiKey.Builder
lifecycleState(BdsApiKey.LifecycleState lifecycleState)
The state of the key.BdsApiKey.Builder
pemfilepath(String pemfilepath)
The full path and file name of the private key used for authentication.BdsApiKey.Builder
tenantId(String tenantId)
The OCID of your tenancy.BdsApiKey.Builder
timeCreated(Date timeCreated)
The time the API key was created, shown as an RFC 3339 formatted datetime string.BdsApiKey.Builder
userId(String userId)
The user OCID for which this API key was created.
-
-
-
Method Detail
-
id
public BdsApiKey.Builder id(String id)
Identifier of the user’s API key.- Parameters:
id
- the value to set- Returns:
- this builder
-
userId
public BdsApiKey.Builder userId(String userId)
The user OCID for which this API key was created.- Parameters:
userId
- the value to set- Returns:
- this builder
-
keyAlias
public BdsApiKey.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
-
defaultRegion
public BdsApiKey.Builder defaultRegion(String defaultRegion)
The name of the region to establish the Object Storage endpoint.Example us-phoenix-1 .
- Parameters:
defaultRegion
- the value to set- Returns:
- this builder
-
tenantId
public BdsApiKey.Builder tenantId(String tenantId)
The OCID of your tenancy.- Parameters:
tenantId
- the value to set- Returns:
- this builder
-
fingerprint
public BdsApiKey.Builder fingerprint(String fingerprint)
The fingerprint that corresponds to the public API key requested.- Parameters:
fingerprint
- the value to set- Returns:
- this builder
-
pemfilepath
public BdsApiKey.Builder pemfilepath(String pemfilepath)
The full path and file name of the private key used for authentication.This location will be automatically selected on the BDS local file system.
- Parameters:
pemfilepath
- the value to set- Returns:
- this builder
-
timeCreated
public BdsApiKey.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
-
lifecycleState
public BdsApiKey.Builder lifecycleState(BdsApiKey.LifecycleState lifecycleState)
The state of the key.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
domainOcid
public BdsApiKey.Builder domainOcid(String domainOcid)
Identity domain OCID ,where user is present.For default domain ,this field will be optional.
- Parameters:
domainOcid
- the value to set- Returns:
- this builder
-
build
public BdsApiKey build()
-
copy
public BdsApiKey.Builder copy(BdsApiKey model)
-
-