@Generated(value="OracleSDKGenerator", comments="API Version: 20191010") public final class BlockchainPlatform extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Blockchain Platform Instance Description.
Note: Objects should always be created or deserialized using the BlockchainPlatform.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the BlockchainPlatform.Builder
, which maintain a
set of all explicitly set fields called BlockchainPlatform.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
BlockchainPlatform.Builder |
static class |
BlockchainPlatform.ComputeShape
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or
ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
|
static class |
BlockchainPlatform.LifecycleState
The current state of the Platform Instance.
|
static class |
BlockchainPlatform.LoadBalancerShape
Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS.
|
static class |
BlockchainPlatform.PlatformRole
Role of platform - FOUNDER or PARTICIPANT
|
static class |
BlockchainPlatform.PlatformShapeType
Type of Platform shape - DEFAULT or CUSTOM
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
BlockchainPlatform(String id,
String displayName,
String compartmentId,
String description,
Boolean isByol,
Date timeCreated,
Date timeUpdated,
String platformVersion,
String serviceVersion,
BlockchainPlatform.PlatformRole platformRole,
BlockchainPlatform.ComputeShape computeShape,
BlockchainPlatform.PlatformShapeType platformShapeType,
BlockchainPlatform.LoadBalancerShape loadBalancerShape,
String serviceEndpoint,
BlockchainPlatform.LifecycleState lifecycleState,
String lifecycleDetails,
Double storageSizeInTBs,
Double storageUsedInTBs,
Boolean isMultiAD,
Integer totalOcpuCapacity,
BlockchainPlatformComponentDetails componentDetails,
ReplicaDetails replicas,
List<OcpuUtilizationInfo> hostOcpuUtilizationInfo,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static BlockchainPlatform.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
Compartment Identifier
|
BlockchainPlatformComponentDetails |
getComponentDetails() |
BlockchainPlatform.ComputeShape |
getComputeShape()
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or
ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
String |
getDescription()
Platform Instance Description
|
String |
getDisplayName()
Platform Instance Display name, can be renamed
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
List<OcpuUtilizationInfo> |
getHostOcpuUtilizationInfo()
List of OcpuUtilization for all hosts
|
String |
getId()
unique identifier that is immutable on creation
|
Boolean |
getIsByol()
Bring your own license
|
Boolean |
getIsMultiAD()
True for multi-AD blockchain plaforms, false for single-AD
|
String |
getLifecycleDetails()
An message describing the current state in more detail.
|
BlockchainPlatform.LifecycleState |
getLifecycleState()
The current state of the Platform Instance.
|
BlockchainPlatform.LoadBalancerShape |
getLoadBalancerShape()
Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS.
|
BlockchainPlatform.PlatformRole |
getPlatformRole()
Role of platform - FOUNDER or PARTICIPANT
|
BlockchainPlatform.PlatformShapeType |
getPlatformShapeType()
Type of Platform shape - DEFAULT or CUSTOM
|
String |
getPlatformVersion()
Platform Version
|
ReplicaDetails |
getReplicas() |
String |
getServiceEndpoint()
Service endpoint URL, valid post-provisioning
|
String |
getServiceVersion()
The version of the Platform Instance.
|
Double |
getStorageSizeInTBs()
Storage size in TBs
|
Double |
getStorageUsedInTBs()
Storage used in TBs
|
Date |
getTimeCreated()
The time the the Platform Instance was created.
|
Date |
getTimeUpdated()
The time the Platform Instance was updated.
|
Integer |
getTotalOcpuCapacity()
Number of total OCPUs allocated to the platform cluster
|
int |
hashCode() |
BlockchainPlatform.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","displayName","compartmentId","description","isByol","timeCreated","timeUpdated","platformVersion","serviceVersion","platformRole","computeShape","platformShapeType","loadBalancerShape","serviceEndpoint","lifecycleState","lifecycleDetails","storageSizeInTBs","storageUsedInTBs","isMultiAD","totalOcpuCapacity","componentDetails","replicas","hostOcpuUtilizationInfo","freeformTags","definedTags"}) public BlockchainPlatform(String id, String displayName, String compartmentId, String description, Boolean isByol, Date timeCreated, Date timeUpdated, String platformVersion, String serviceVersion, BlockchainPlatform.PlatformRole platformRole, BlockchainPlatform.ComputeShape computeShape, BlockchainPlatform.PlatformShapeType platformShapeType, BlockchainPlatform.LoadBalancerShape loadBalancerShape, String serviceEndpoint, BlockchainPlatform.LifecycleState lifecycleState, String lifecycleDetails, Double storageSizeInTBs, Double storageUsedInTBs, Boolean isMultiAD, Integer totalOcpuCapacity, BlockchainPlatformComponentDetails componentDetails, ReplicaDetails replicas, List<OcpuUtilizationInfo> hostOcpuUtilizationInfo, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags)
public static BlockchainPlatform.Builder builder()
Create a new builder.
public BlockchainPlatform.Builder toBuilder()
public String getId()
unique identifier that is immutable on creation
public String getDisplayName()
Platform Instance Display name, can be renamed
public String getCompartmentId()
Compartment Identifier
public String getDescription()
Platform Instance Description
public Boolean getIsByol()
Bring your own license
public Date getTimeCreated()
The time the the Platform Instance was created. An RFC3339 formatted datetime string
public Date getTimeUpdated()
The time the Platform Instance was updated. An RFC3339 formatted datetime string
public String getPlatformVersion()
Platform Version
public String getServiceVersion()
The version of the Platform Instance.
public BlockchainPlatform.PlatformRole getPlatformRole()
Role of platform - FOUNDER or PARTICIPANT
public BlockchainPlatform.ComputeShape getComputeShape()
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM
public BlockchainPlatform.PlatformShapeType getPlatformShapeType()
Type of Platform shape - DEFAULT or CUSTOM
public BlockchainPlatform.LoadBalancerShape getLoadBalancerShape()
Type of Load Balancer shape - LB_100_MBPS or LB_400_MBPS. Default is LB_100_MBPS.
public String getServiceEndpoint()
Service endpoint URL, valid post-provisioning
public BlockchainPlatform.LifecycleState getLifecycleState()
The current state of the Platform Instance.
public String getLifecycleDetails()
An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
public Double getStorageSizeInTBs()
Storage size in TBs
public Double getStorageUsedInTBs()
Storage used in TBs
public Boolean getIsMultiAD()
True for multi-AD blockchain plaforms, false for single-AD
public Integer getTotalOcpuCapacity()
Number of total OCPUs allocated to the platform cluster
public BlockchainPlatformComponentDetails getComponentDetails()
public ReplicaDetails getReplicas()
public List<OcpuUtilizationInfo> getHostOcpuUtilizationInfo()
List of OcpuUtilization for all hosts
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for
cross-compatibility only. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.