Class DrProtectionGroupSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

        public DrProtectionGroupSummary.Builder id​(String id)
        The OCID of the DR protection group.

        Example: ocid1.drprotectiongroup.oc1..uniqueID

        Parameters:
        id - the value to set
        Returns:
        this builder
      • compartmentId

        public DrProtectionGroupSummary.Builder compartmentId​(String compartmentId)
        The OCID of the compartment containing the DR protection group.

        Example: ocid1.compartment.oc1..uniqueID

        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • displayName

        public DrProtectionGroupSummary.Builder displayName​(String displayName)
        The display name of the DR protection group.

        Example: EBS PHX Group

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • peerId

        public DrProtectionGroupSummary.Builder peerId​(String peerId)
        The OCID of the peer DR protection group.

        Example: ocid1.drprotectiongroup.oc1..uniqueID

        Parameters:
        peerId - the value to set
        Returns:
        this builder
      • peerRegion

        public DrProtectionGroupSummary.Builder peerRegion​(String peerRegion)
        The region of the peer DR protection group.

        Example: us-ashburn-1

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

        public DrProtectionGroupSummary.Builder timeCreated​(Date timeCreated)
        The date and time the DR protection group was created.

        An RFC3339 formatted datetime string.

        Example: 2019-03-29T09:36:42Z

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

        public DrProtectionGroupSummary.Builder timeUpdated​(Date timeUpdated)
        The date and time the DR protection group was updated.

        An RFC3339 formatted datetime string.

        Example: 2019-03-29T09:36:42Z

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

        public DrProtectionGroupSummary.Builder lifeCycleDetails​(String lifeCycleDetails)
        A message describing the DR protection group’s current state in more detail.
        Parameters:
        lifeCycleDetails - the value to set
        Returns:
        this builder
      • freeformTags

        public DrProtectionGroupSummary.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: {"Department": "Finance"}

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

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

        Each key is predefined and scoped to a namespace.

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

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

        public DrProtectionGroupSummary.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-retained": "true"}}

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