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 BlockchainPlatformbuild()BlockchainPlatform.BuildercompartmentId(String compartmentId)Compartment IdentifierBlockchainPlatform.BuildercomponentDetails(BlockchainPlatformComponentDetails componentDetails)BlockchainPlatform.BuildercomputeShape(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.Buildercopy(BlockchainPlatform model)BlockchainPlatform.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BlockchainPlatform.Builderdescription(String description)Platform Instance DescriptionBlockchainPlatform.BuilderdisplayName(String displayName)Platform Instance Display name, can be renamedBlockchainPlatform.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.BlockchainPlatform.BuilderhostOcpuUtilizationInfo(List<OcpuUtilizationInfo> hostOcpuUtilizationInfo)List of OcpuUtilization for all hostsBlockchainPlatform.Builderid(String id)unique identifier that is immutable on creationBlockchainPlatform.BuilderisByol(Boolean isByol)Bring your own licenseBlockchainPlatform.BuilderisMultiAD(Boolean isMultiAD)True for multi-AD blockchain plaforms, false for single-ADBlockchainPlatform.BuilderlifecycleDetails(String lifecycleDetails)An message describing the current state in more detail.BlockchainPlatform.BuilderlifecycleState(BlockchainPlatform.LifecycleState lifecycleState)The current state of the Platform Instance.BlockchainPlatform.BuilderloadBalancerShape(BlockchainPlatform.LoadBalancerShape loadBalancerShape)Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS.BlockchainPlatform.BuilderplatformRole(BlockchainPlatform.PlatformRole platformRole)Role of platform - FOUNDER or PARTICIPANTBlockchainPlatform.BuilderplatformShapeType(BlockchainPlatform.PlatformShapeType platformShapeType)Type of Platform shape - DEFAULT or CUSTOMBlockchainPlatform.BuilderplatformVersion(String platformVersion)Platform VersionBlockchainPlatform.Builderreplicas(ReplicaDetails replicas)BlockchainPlatform.BuilderserviceEndpoint(String serviceEndpoint)Service endpoint URL, valid post-provisioningBlockchainPlatform.BuilderserviceVersion(String serviceVersion)The version of the Platform Instance.BlockchainPlatform.BuilderstorageSizeInTBs(Double storageSizeInTBs)Storage size in TBsBlockchainPlatform.BuilderstorageUsedInTBs(Double storageUsedInTBs)Storage used in TBsBlockchainPlatform.BuildertimeCreated(Date timeCreated)The time the the Platform Instance was created.BlockchainPlatform.BuildertimeUpdated(Date timeUpdated)The time the Platform Instance was updated.BlockchainPlatform.BuildertotalOcpuCapacity(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)
-
-