Class BlockchainPlatform.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • 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
      • serviceEndpoint

        public BlockchainPlatform.Builder serviceEndpoint​(String serviceEndpoint)
        Service endpoint URL, valid post-provisioning
        Parameters:
        serviceEndpoint - 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
      • 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