Class ReplicationSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • availabilityDomain

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

        The replication must be in the same availability domain as the source file system. Example: Uocm:PHX-AD-1

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

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

        public ReplicationSummary.Builder lifecycleState​(ReplicationSummary.LifecycleState lifecycleState)
        The current state of this replication.

        This resource can be in a FAILED state if replication target is deleted instead of the replication resource.

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

        public ReplicationSummary.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 ReplicationSummary.Builder timeCreated​(Date timeCreated)
        The date and time the replication was created in RFC 3339 timestamp format.

        Example: 2020-02-04T21:10:29.600Z

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

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

        public ReplicationSummary.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 ReplicationSummary.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 ReplicationSummary.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 ReplicationSummary.Builder lifecycleDetails​(String lifecycleDetails)
        Additional information about the current lifecycleState.
        Parameters:
        lifecycleDetails - the value to set
        Returns:
        this builder
      • recoveryPointTime

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