Package com.oracle.bmc.blockchain.model
Class CreateBlockchainPlatformDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.model.CreateBlockchainPlatformDetails.Builder
-
- Enclosing class:
- CreateBlockchainPlatformDetails
public static class CreateBlockchainPlatformDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
displayName
public CreateBlockchainPlatformDetails.Builder displayName(String displayName)
Platform Instance Display name, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public CreateBlockchainPlatformDetails.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public CreateBlockchainPlatformDetails.Builder description(String description)
Platform Instance Description- Parameters:
description
- the value to set- Returns:
- this builder
-
platformRole
public CreateBlockchainPlatformDetails.Builder platformRole(BlockchainPlatform.PlatformRole platformRole)
Role of platform - founder or participant- Parameters:
platformRole
- the value to set- Returns:
- this builder
-
computeShape
public CreateBlockchainPlatformDetails.Builder computeShape(BlockchainPlatform.ComputeShape computeShape)
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE- Parameters:
computeShape
- the value to set- Returns:
- this builder
-
isByol
public CreateBlockchainPlatformDetails.Builder isByol(Boolean isByol)
Bring your own license- Parameters:
isByol
- the value to set- Returns:
- this builder
-
platformVersion
public CreateBlockchainPlatformDetails.Builder platformVersion(String platformVersion)
Platform version- Parameters:
platformVersion
- the value to set- Returns:
- this builder
-
idcsAccessToken
public CreateBlockchainPlatformDetails.Builder idcsAccessToken(String idcsAccessToken)
IDCS access token with Identity Domain Administrator role- Parameters:
idcsAccessToken
- the value to set- Returns:
- this builder
-
federatedUserId
public CreateBlockchainPlatformDetails.Builder federatedUserId(String federatedUserId)
Identifier for a federated user- Parameters:
federatedUserId
- the value to set- Returns:
- this builder
-
caCertArchiveText
public CreateBlockchainPlatformDetails.Builder caCertArchiveText(String caCertArchiveText)
Base64 encoded text in ASCII character set of a Thirdparty CA Certificates archive file.The Archive file is a zip file containing third part CA Certificates, the ca key and certificate files used when issuing enrollment certificates (ECerts) and transaction certificates (TCerts). The chainfile (if it exists) contains the certificate chain which should be trusted for this CA, where the 1st in the chain is always the root CA certificate. File list in zip file [ca-cert.pem,ca-key.pem,ca-chain.pem(optional)].
- Parameters:
caCertArchiveText
- the value to set- Returns:
- this builder
-
freeformTags
public CreateBlockchainPlatformDetails.Builder freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”}
- Parameters:
freeformTags
- the value to set- Returns:
- this builder
-
definedTags
public CreateBlockchainPlatformDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}
- Parameters:
definedTags
- the value to set- Returns:
- this builder
-
build
public CreateBlockchainPlatformDetails build()
-
copy
public CreateBlockchainPlatformDetails.Builder copy(CreateBlockchainPlatformDetails model)
-
-