Package com.oracle.bmc.blockchain.model
Class BlockchainPlatform.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.model.BlockchainPlatform.Builder
-
- Enclosing class:
- BlockchainPlatform
public static class BlockchainPlatform.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockchainPlatform
build()
BlockchainPlatform.Builder
compartmentId(String compartmentId)
Compartment IdentifierBlockchainPlatform.Builder
componentDetails(BlockchainPlatformComponentDetails componentDetails)
BlockchainPlatform.Builder
computeShape(BlockchainPlatform.ComputeShape computeShape)
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM or DIGITAL_ASSETS_MEDIUM or DIGITAL_ASSETS_LARGE or DIGITAL_ASSETS_EXTRA_LARGEBlockchainPlatform.Builder
copy(BlockchainPlatform model)
BlockchainPlatform.Builder
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.BlockchainPlatform.Builder
description(String description)
Platform Instance DescriptionBlockchainPlatform.Builder
displayName(String displayName)
Platform Instance Display name, can be renamedBlockchainPlatform.Builder
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.BlockchainPlatform.Builder
hostOcpuUtilizationInfo(List<OcpuUtilizationInfo> hostOcpuUtilizationInfo)
List of OcpuUtilization for all hostsBlockchainPlatform.Builder
id(String id)
unique identifier that is immutable on creationBlockchainPlatform.Builder
isByol(Boolean isByol)
Bring your own licenseBlockchainPlatform.Builder
isMultiAD(Boolean isMultiAD)
True for multi-AD blockchain plaforms, false for single-ADBlockchainPlatform.Builder
lifecycleDetails(String lifecycleDetails)
An message describing the current state in more detail.BlockchainPlatform.Builder
lifecycleState(BlockchainPlatform.LifecycleState lifecycleState)
The current state of the Platform Instance.BlockchainPlatform.Builder
loadBalancerShape(BlockchainPlatform.LoadBalancerShape loadBalancerShape)
Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS.BlockchainPlatform.Builder
platformRole(BlockchainPlatform.PlatformRole platformRole)
Role of platform - FOUNDER or PARTICIPANTBlockchainPlatform.Builder
platformShapeType(BlockchainPlatform.PlatformShapeType platformShapeType)
Type of Platform shape - DEFAULT or CUSTOMBlockchainPlatform.Builder
platformVersion(String platformVersion)
Platform VersionBlockchainPlatform.Builder
replicas(ReplicaDetails replicas)
BlockchainPlatform.Builder
serviceEndpoint(String serviceEndpoint)
Service endpoint URL, valid post-provisioningBlockchainPlatform.Builder
serviceVersion(String serviceVersion)
The version of the Platform Instance.BlockchainPlatform.Builder
storageSizeInTBs(Double storageSizeInTBs)
Storage size in TBsBlockchainPlatform.Builder
storageUsedInTBs(Double storageUsedInTBs)
Storage used in TBsBlockchainPlatform.Builder
timeCreated(Date timeCreated)
The time the the Platform Instance was created.BlockchainPlatform.Builder
timeUpdated(Date timeUpdated)
The time the Platform Instance was updated.BlockchainPlatform.Builder
totalOcpuCapacity(Integer totalOcpuCapacity)
Number of total OCPUs allocated to the platform cluster
-
-
-
Method Detail
-
id
public BlockchainPlatform.Builder id(String id)
unique identifier that is immutable on creation- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public BlockchainPlatform.Builder displayName(String displayName)
Platform Instance Display name, can be renamed- Parameters:
displayName
- the value to set- Returns:
- this builder
-
compartmentId
public BlockchainPlatform.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
description
public BlockchainPlatform.Builder description(String description)
Platform Instance Description- Parameters:
description
- the value to set- Returns:
- this builder
-
isByol
public BlockchainPlatform.Builder isByol(Boolean isByol)
Bring your own license- Parameters:
isByol
- the value to set- Returns:
- this builder
-
timeCreated
public BlockchainPlatform.Builder timeCreated(Date timeCreated)
The time the the Platform Instance was created.An RFC3339 formatted datetime string
- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeUpdated
public BlockchainPlatform.Builder timeUpdated(Date timeUpdated)
The time the Platform Instance was updated.An RFC3339 formatted datetime string
- Parameters:
timeUpdated
- the value to set- Returns:
- this builder
-
platformVersion
public BlockchainPlatform.Builder platformVersion(String platformVersion)
Platform Version- Parameters:
platformVersion
- the value to set- Returns:
- this builder
-
serviceVersion
public BlockchainPlatform.Builder serviceVersion(String serviceVersion)
The version of the Platform Instance.- Parameters:
serviceVersion
- the value to set- Returns:
- this builder
-
platformRole
public BlockchainPlatform.Builder platformRole(BlockchainPlatform.PlatformRole platformRole)
Role of platform - FOUNDER or PARTICIPANT- Parameters:
platformRole
- the value to set- Returns:
- this builder
-
computeShape
public BlockchainPlatform.Builder computeShape(BlockchainPlatform.ComputeShape computeShape)
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM or DIGITAL_ASSETS_MEDIUM or DIGITAL_ASSETS_LARGE or DIGITAL_ASSETS_EXTRA_LARGE- Parameters:
computeShape
- the value to set- Returns:
- this builder
-
platformShapeType
public BlockchainPlatform.Builder platformShapeType(BlockchainPlatform.PlatformShapeType platformShapeType)
Type of Platform shape - DEFAULT or CUSTOM- Parameters:
platformShapeType
- the value to set- Returns:
- this builder
-
loadBalancerShape
public BlockchainPlatform.Builder loadBalancerShape(BlockchainPlatform.LoadBalancerShape loadBalancerShape)
Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS.Default is LB_100_MBPS.
- Parameters:
loadBalancerShape
- the value to set- Returns:
- this builder
-
serviceEndpoint
public BlockchainPlatform.Builder serviceEndpoint(String serviceEndpoint)
Service endpoint URL, valid post-provisioning- Parameters:
serviceEndpoint
- the value to set- Returns:
- this builder
-
lifecycleState
public BlockchainPlatform.Builder lifecycleState(BlockchainPlatform.LifecycleState lifecycleState)
The current state of the Platform Instance.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public BlockchainPlatform.Builder lifecycleDetails(String lifecycleDetails)
An message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
storageSizeInTBs
public BlockchainPlatform.Builder storageSizeInTBs(Double storageSizeInTBs)
Storage size in TBs- Parameters:
storageSizeInTBs
- the value to set- Returns:
- this builder
-
storageUsedInTBs
public BlockchainPlatform.Builder storageUsedInTBs(Double storageUsedInTBs)
Storage used in TBs- Parameters:
storageUsedInTBs
- the value to set- Returns:
- this builder
-
isMultiAD
public BlockchainPlatform.Builder isMultiAD(Boolean isMultiAD)
True for multi-AD blockchain plaforms, false for single-AD- Parameters:
isMultiAD
- the value to set- Returns:
- this builder
-
totalOcpuCapacity
public BlockchainPlatform.Builder totalOcpuCapacity(Integer totalOcpuCapacity)
Number of total OCPUs allocated to the platform cluster- Parameters:
totalOcpuCapacity
- the value to set- Returns:
- this builder
-
componentDetails
public BlockchainPlatform.Builder componentDetails(BlockchainPlatformComponentDetails componentDetails)
-
replicas
public BlockchainPlatform.Builder replicas(ReplicaDetails replicas)
-
hostOcpuUtilizationInfo
public BlockchainPlatform.Builder hostOcpuUtilizationInfo(List<OcpuUtilizationInfo> hostOcpuUtilizationInfo)
List of OcpuUtilization for all hosts- Parameters:
hostOcpuUtilizationInfo
- the value to set- Returns:
- this builder
-
freeformTags
public BlockchainPlatform.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 BlockchainPlatform.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 BlockchainPlatform build()
-
copy
public BlockchainPlatform.Builder copy(BlockchainPlatform model)
-
-