Class Replication.Builder

  • Enclosing class:
    Replication

    public static class Replication.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • compartmentId

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

        public Replication.Builder availabilityDomain​(String availabilityDomain)
        The availability domain that contains the replication.

        May be unset as a blank or NULL value. Example: Uocm:PHX-AD-2

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

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

        It does not have to be unique, and it is changeable. Avoid entering confidential information.

        Example: My replication

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

        public Replication.Builder timeCreated​(Date timeCreated)
        The date and time the replication was created in RFC 3339 timestamp format.

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

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

        public Replication.Builder sourceId​(String sourceId)
        The OCID of the source file system.
        Parameters:
        sourceId - the value to set
        Returns:
        this builder
      • targetId

        public Replication.Builder targetId​(String targetId)
        The OCID of the target file system.
        Parameters:
        targetId - the value to set
        Returns:
        this builder
      • replicationInterval

        public Replication.Builder replicationInterval​(Long replicationInterval)
        Duration in minutes between replication snapshots.
        Parameters:
        replicationInterval - the value to set
        Returns:
        this builder
      • lastSnapshotId

        public Replication.Builder lastSnapshotId​(String lastSnapshotId)
        The OCID of the last snapshot that has been replicated completely.

        Empty if the copy of the initial snapshot is not complete.

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

        public Replication.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
      • deltaStatus

        public Replication.Builder deltaStatus​(Replication.DeltaStatus deltaStatus)
        The current state of the snapshot during replication operations.
        Parameters:
        deltaStatus - the value to set
        Returns:
        this builder
      • lifecycleDetails

        public Replication.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current ‘lifecycleState’.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • deltaProgress

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

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