Class CreateVolumeGroupDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public CreateVolumeGroupDetails.Builder availabilityDomain​(String availabilityDomain)
        The availability domain of the volume group.
        Parameters:
        availabilityDomain - the value to set
        Returns:
        this builder
      • backupPolicyId

        public CreateVolumeGroupDetails.Builder backupPolicyId​(String backupPolicyId)
        If provided, specifies the ID of the volume backup policy to assign to the newly created volume group.

        If omitted, no policy will be assigned.

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

        public CreateVolumeGroupDetails.Builder compartmentId​(String compartmentId)
        The OCID of the compartment that contains the volume group.
        Parameters:
        compartmentId - the value to set
        Returns:
        this builder
      • definedTags

        public CreateVolumeGroupDetails.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
      • displayName

        public CreateVolumeGroupDetails.Builder displayName​(String displayName)
        A user-friendly name.

        Does not have to be unique, and it’s changeable. Avoid entering confidential information.

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

        public CreateVolumeGroupDetails.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
      • volumeGroupReplicas

        public CreateVolumeGroupDetails.Builder volumeGroupReplicas​(List<VolumeGroupReplicaDetails> volumeGroupReplicas)
        The list of volume group replicas that this volume group will be enabled to have in the specified destination availability domains.
        Parameters:
        volumeGroupReplicas - the value to set
        Returns:
        this builder
      • clusterPlacementGroupId

        public CreateVolumeGroupDetails.Builder clusterPlacementGroupId​(String clusterPlacementGroupId)
        The clusterPlacementGroup Id of the volume group for volume group placement.
        Parameters:
        clusterPlacementGroupId - the value to set
        Returns:
        this builder
      • xrcKmsKeyId

        public CreateVolumeGroupDetails.Builder xrcKmsKeyId​(String xrcKmsKeyId)
        The OCID of the Vault service key which is the master encryption key for the volume’s cross region backups, which will be used in the destination region to encrypt the backup’s encryption keys.

        For more information about the Vault service and encryption keys, see Overview of Vault service and Using Keys.

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