Package com.oracle.bmc.blockchain.model
Class BlockchainPlatformSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.blockchain.model.BlockchainPlatformSummary.Builder
-
- Enclosing class:
- BlockchainPlatformSummary
public static class BlockchainPlatformSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockchainPlatformSummarybuild()BlockchainPlatformSummary.BuildercompartmentId(String compartmentId)Compartment IdentifierBlockchainPlatformSummary.BuildercomputeShape(BlockchainPlatform.ComputeShape computeShape)Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOMBlockchainPlatformSummary.Buildercopy(BlockchainPlatformSummary model)BlockchainPlatformSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.BlockchainPlatformSummary.Builderdescription(String description)Platform Instance DescriptionBlockchainPlatformSummary.BuilderdisplayName(String displayName)Platform Instance Display name, can be renamedBlockchainPlatformSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.BlockchainPlatformSummary.Builderid(String id)unique identifier that is immutable on creationBlockchainPlatformSummary.BuilderlifecycleDetails(String lifecycleDetails)An message describing the current state in more detail.BlockchainPlatformSummary.BuilderlifecycleState(BlockchainPlatform.LifecycleState lifecycleState)The current state of the Platform Instance.BlockchainPlatformSummary.BuilderplatformRole(BlockchainPlatform.PlatformRole platformRole)Role of platform - founder or participantBlockchainPlatformSummary.BuilderserviceEndpoint(String serviceEndpoint)Service endpoint URL, valid post-provisioningBlockchainPlatformSummary.BuildertimeCreated(Date timeCreated)The time the the Platform Instance was created.BlockchainPlatformSummary.BuildertimeUpdated(Date timeUpdated)The time the Platform Instance was updated.
-
-
-
Method Detail
-
id
public BlockchainPlatformSummary.Builder id(String id)
unique identifier that is immutable on creation- Parameters:
id- the value to set- Returns:
- this builder
-
displayName
public BlockchainPlatformSummary.Builder displayName(String displayName)
Platform Instance Display name, can be renamed- Parameters:
displayName- the value to set- Returns:
- this builder
-
compartmentId
public BlockchainPlatformSummary.Builder compartmentId(String compartmentId)
Compartment Identifier- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public BlockchainPlatformSummary.Builder description(String description)
Platform Instance Description- Parameters:
description- the value to set- Returns:
- this builder
-
timeCreated
public BlockchainPlatformSummary.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 BlockchainPlatformSummary.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
-
platformRole
public BlockchainPlatformSummary.Builder platformRole(BlockchainPlatform.PlatformRole platformRole)
Role of platform - founder or participant- Parameters:
platformRole- the value to set- Returns:
- this builder
-
computeShape
public BlockchainPlatformSummary.Builder computeShape(BlockchainPlatform.ComputeShape computeShape)
Compute shape - STANDARD or ENTERPRISE_SMALL or ENTERPRISE_MEDIUM or ENTERPRISE_LARGE or ENTERPRISE_EXTRA_LARGE or ENTERPRISE_CUSTOM- Parameters:
computeShape- the value to set- Returns:
- this builder
-
serviceEndpoint
public BlockchainPlatformSummary.Builder serviceEndpoint(String serviceEndpoint)
Service endpoint URL, valid post-provisioning- Parameters:
serviceEndpoint- the value to set- Returns:
- this builder
-
lifecycleState
public BlockchainPlatformSummary.Builder lifecycleState(BlockchainPlatform.LifecycleState lifecycleState)
The current state of the Platform Instance.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
lifecycleDetails
public BlockchainPlatformSummary.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
-
freeformTags
public BlockchainPlatformSummary.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 BlockchainPlatformSummary.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 BlockchainPlatformSummary build()
-
copy
public BlockchainPlatformSummary.Builder copy(BlockchainPlatformSummary model)
-
-