Class CreateDrPlanDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • displayName

        public CreateDrPlanDetails.Builder displayName​(String displayName)
        The display name of the DR plan being created.

        Example: EBS Switchover PHX to IAD

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

        public CreateDrPlanDetails.Builder drProtectionGroupId​(String drProtectionGroupId)
        The OCID of the DR protection group to which this DR plan belongs.

        Example: ocid1.drprotectiongroup.oc1..uniqueID

        Parameters:
        drProtectionGroupId - the value to set
        Returns:
        this builder
      • sourcePlanId

        public CreateDrPlanDetails.Builder sourcePlanId​(String sourcePlanId)
        The OCID of the source DR plan that should be cloned.

        Example: ocid1.drplan.oc1..uniqueID

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

        public CreateDrPlanDetails.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 CreateDrPlanDetails.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