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