Class ByolSummary.Builder

  • Enclosing class:
    ByolSummary

    public static class ByolSummary.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

        public ByolSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the BYOL.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public ByolSummary.Builder displayName​(String displayName)
        A descriptive name for the BYOL.
        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • lifecycleState

        public ByolSummary.Builder lifecycleState​(Byol.LifecycleState lifecycleState)
        The current state of the BYOL.

        Accepted values are: - CREATING - ACTIVE - INACTIVE - UPDATING - DELETING - DELETED - FAILED

        Parameters:
        lifecycleState - the value to set
        Returns:
        this builder
      • softwareType

        public ByolSummary.Builder softwareType​(Byol.SoftwareType softwareType)
        The type of VMware software the BYOL applies to.

        Supported values: - VCF (VMware Cloud Foundation) - VSAN (VMware vSAN) - VDEFEND (VMware vDefend Firewall) - AVI_LOAD_BALANCER (VMware Avi Load Balancer)

        Parameters:
        softwareType - the value to set
        Returns:
        this builder
      • totalUnits

        public ByolSummary.Builder totalUnits​(Integer totalUnits)
        Total quantity of licensed units for the specified softwareType:

        - VCF, VDEFEND: number of OCPUs - VSAN: storage capacity in TiB (tebibytes) - AVI_LOAD_BALANCER: number of instances

        Parameters:
        totalUnits - the value to set
        Returns:
        this builder
      • availableUnits

        public ByolSummary.Builder availableUnits​(Integer availableUnits)
        The quantity of licensed units that not yet allocated to specific region.
        Parameters:
        availableUnits - the value to set
        Returns:
        this builder
      • timeTermStart

        public ByolSummary.Builder timeTermStart​(Date timeTermStart)
        The date and time when the BYOL becomes active.

        VMware software functionality cannot begin before this time. In the format defined byRFC3339. Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeTermStart - the value to set
        Returns:
        this builder
      • timeTermEnd

        public ByolSummary.Builder timeTermEnd​(Date timeTermEnd)
        The date and time when the BYOL expires and becomes inactive.

        In the format defined byRFC3339.

        Parameters:
        timeTermEnd - the value to set
        Returns:
        this builder
      • timeCreated

        public ByolSummary.Builder timeCreated​(Date timeCreated)
        The date and time the BYOL was created, in the format defined by RFC3339.

        Example: 2016-08-25T21:10:29.600Z

        Parameters:
        timeCreated - the value to set
        Returns:
        this builder
      • timeUpdated

        public ByolSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the BYOL was updated, in the format defined by RFC3339.
        Parameters:
        timeUpdated - the value to set
        Returns:
        this builder
      • freeformTags

        public ByolSummary.Builder freeformTags​(Map<String,​String> freeformTags)
        Free-form tags for this resource.

        Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.

        Example: {"Department": "Finance"}

        Parameters:
        freeformTags - the value to set
        Returns:
        this builder
      • definedTags

        public ByolSummary.Builder definedTags​(Map<String,​Map<String,​Object>> definedTags)
        Defined tags for this resource.

        Each key is predefined and scoped to a namespace. For more information, see Resource Tags.

        Example: {"Operations": {"CostCenter": "42"}}

        Parameters:
        definedTags - the value to set
        Returns:
        this builder
      • systemTags

        public ByolSummary.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        Usage of system tag keys.

        These predefined keys are scoped to namespaces. Example: {orcl-cloud: {free-tier-retain: true}}

        Parameters:
        systemTags - the value to set
        Returns:
        this builder