Class ReplicationGroup

    • Constructor Detail

      • ReplicationGroup

        public ReplicationGroup()
    • Method Detail

      • setReplicationGroupId

        public void setReplicationGroupId​(String replicationGroupId)

        The identifier for the replication group.

        Parameters:
        replicationGroupId - The identifier for the replication group.
      • getReplicationGroupId

        public String getReplicationGroupId()

        The identifier for the replication group.

        Returns:
        The identifier for the replication group.
      • withReplicationGroupId

        public ReplicationGroup withReplicationGroupId​(String replicationGroupId)

        The identifier for the replication group.

        Parameters:
        replicationGroupId - The identifier for the replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription​(String description)

        The description of the replication group.

        Parameters:
        description - The description of the replication group.
      • getDescription

        public String getDescription()

        The description of the replication group.

        Returns:
        The description of the replication group.
      • withDescription

        public ReplicationGroup withDescription​(String description)

        The description of the replication group.

        Parameters:
        description - The description of the replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setStatus

        public void setStatus​(String status)

        The current state of this replication group - creating, available, etc.

        Parameters:
        status - The current state of this replication group - creating, available, etc.
      • getStatus

        public String getStatus()

        The current state of this replication group - creating, available, etc.

        Returns:
        The current state of this replication group - creating, available, etc.
      • withStatus

        public ReplicationGroup withStatus​(String status)

        The current state of this replication group - creating, available, etc.

        Parameters:
        status - The current state of this replication group - creating, available, etc.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPendingModifiedValues

        public void setPendingModifiedValues​(ReplicationGroupPendingModifiedValues pendingModifiedValues)

        A group of settings to be applied to the replication group, either immediately or during the next maintenance window.

        Parameters:
        pendingModifiedValues - A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
      • getPendingModifiedValues

        public ReplicationGroupPendingModifiedValues getPendingModifiedValues()

        A group of settings to be applied to the replication group, either immediately or during the next maintenance window.

        Returns:
        A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
      • withPendingModifiedValues

        public ReplicationGroup withPendingModifiedValues​(ReplicationGroupPendingModifiedValues pendingModifiedValues)

        A group of settings to be applied to the replication group, either immediately or during the next maintenance window.

        Parameters:
        pendingModifiedValues - A group of settings to be applied to the replication group, either immediately or during the next maintenance window.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getMemberClusters

        public List<String> getMemberClusters()

        The names of all the cache clusters that are part of this replication group.

        Returns:
        The names of all the cache clusters that are part of this replication group.
      • setMemberClusters

        public void setMemberClusters​(Collection<String> memberClusters)

        The names of all the cache clusters that are part of this replication group.

        Parameters:
        memberClusters - The names of all the cache clusters that are part of this replication group.
      • withMemberClusters

        public ReplicationGroup withMemberClusters​(String... memberClusters)

        The names of all the cache clusters that are part of this replication group.

        NOTE: This method appends the values to the existing list (if any). Use setMemberClusters(java.util.Collection) or withMemberClusters(java.util.Collection) if you want to override the existing values.

        Parameters:
        memberClusters - The names of all the cache clusters that are part of this replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withMemberClusters

        public ReplicationGroup withMemberClusters​(Collection<String> memberClusters)

        The names of all the cache clusters that are part of this replication group.

        Parameters:
        memberClusters - The names of all the cache clusters that are part of this replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getNodeGroups

        public List<NodeGroup> getNodeGroups()

        A single element list with information about the nodes in the replication group.

        Returns:
        A single element list with information about the nodes in the replication group.
      • setNodeGroups

        public void setNodeGroups​(Collection<NodeGroup> nodeGroups)

        A single element list with information about the nodes in the replication group.

        Parameters:
        nodeGroups - A single element list with information about the nodes in the replication group.
      • withNodeGroups

        public ReplicationGroup withNodeGroups​(NodeGroup... nodeGroups)

        A single element list with information about the nodes in the replication group.

        NOTE: This method appends the values to the existing list (if any). Use setNodeGroups(java.util.Collection) or withNodeGroups(java.util.Collection) if you want to override the existing values.

        Parameters:
        nodeGroups - A single element list with information about the nodes in the replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withNodeGroups

        public ReplicationGroup withNodeGroups​(Collection<NodeGroup> nodeGroups)

        A single element list with information about the nodes in the replication group.

        Parameters:
        nodeGroups - A single element list with information about the nodes in the replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSnapshottingClusterId

        public void setSnapshottingClusterId​(String snapshottingClusterId)

        The cache cluster ID that is used as the daily snapshot source for the replication group.

        Parameters:
        snapshottingClusterId - The cache cluster ID that is used as the daily snapshot source for the replication group.
      • getSnapshottingClusterId

        public String getSnapshottingClusterId()

        The cache cluster ID that is used as the daily snapshot source for the replication group.

        Returns:
        The cache cluster ID that is used as the daily snapshot source for the replication group.
      • withSnapshottingClusterId

        public ReplicationGroup withSnapshottingClusterId​(String snapshottingClusterId)

        The cache cluster ID that is used as the daily snapshot source for the replication group.

        Parameters:
        snapshottingClusterId - The cache cluster ID that is used as the daily snapshot source for the replication group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAutomaticFailover

        public void setAutomaticFailover​(String automaticFailover)

        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Parameters:
        automaticFailover - Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        See Also:
        AutomaticFailoverStatus
      • getAutomaticFailover

        public String getAutomaticFailover()

        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Returns:
        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        See Also:
        AutomaticFailoverStatus
      • withAutomaticFailover

        public ReplicationGroup withAutomaticFailover​(String automaticFailover)

        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Parameters:
        automaticFailover - Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutomaticFailoverStatus
      • setAutomaticFailover

        public void setAutomaticFailover​(AutomaticFailoverStatus automaticFailover)

        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Parameters:
        automaticFailover - Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        See Also:
        AutomaticFailoverStatus
      • withAutomaticFailover

        public ReplicationGroup withAutomaticFailover​(AutomaticFailoverStatus automaticFailover)

        Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Parameters:
        automaticFailover - Indicates the status of Multi-AZ for this replication group.

        ElastiCache Multi-AZ replication groups are not supported on:

        • Redis versions earlier than 2.8.6.
        • T1 and T2 cache node types.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AutomaticFailoverStatus
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object