Class ReplicationTarget.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

        public ReplicationTarget.Builder availabilityDomain​(String availabilityDomain)
        The availability domain the replication resource is in.

        May be unset as a blank or NULL value.

        Example: Uocm:PHX-AD-1

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

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

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

        This name is same as the replication display name for the associated resource. Example: My Replication

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

        public ReplicationTarget.Builder timeCreated​(Date timeCreated)
        The date and time the replication target was created in target region.

        in RFC 3339 timestamp format. Example: 2021-01-04T20:01:29.100Z

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

        public ReplicationTarget.Builder replicationId​(String replicationId)
        The OCID of replication.
        Parameters:
        replicationId - the value to set
        Returns:
        this builder
      • lastSnapshotId

        public ReplicationTarget.Builder lastSnapshotId​(String lastSnapshotId)
        The OCID of the last snapshot snapshot which was completely applied to the target file system.

        Empty while the initial snapshot is being applied.

        Parameters:
        lastSnapshotId - the value to set
        Returns:
        this builder
      • recoveryPointTime

        public ReplicationTarget.Builder recoveryPointTime​(Date recoveryPointTime)
        The snapshotTime of the most recent recoverable replication snapshot in RFC 3339 timestamp format.

        Example: 2021-04-04T20:01:29.100Z

        Parameters:
        recoveryPointTime - the value to set
        Returns:
        this builder
      • deltaProgress

        public ReplicationTarget.Builder deltaProgress​(Long deltaProgress)
        Percentage progress of the current replication cycle.
        Parameters:
        deltaProgress - the value to set
        Returns:
        this builder
      • freeformTags

        public ReplicationTarget.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 ReplicationTarget.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 ReplicationTarget.Builder systemTags​(Map<String,​Map<String,​Object>> systemTags)
        System tags for this resource.

        System tags are applied to resources by internal OCI services.

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

        public ReplicationTarget.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycleState.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder