Interface UpdateClusterRequest.Builder

    • Method Detail

      • clusterName

        UpdateClusterRequest.Builder clusterName​(String clusterName)

        The name of the cluster to update

        Parameters:
        clusterName - The name of the cluster to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateClusterRequest.Builder description​(String description)

        The description of the cluster to update

        Parameters:
        description - The description of the cluster to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        UpdateClusterRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The SecurityGroupIds to update

        Parameters:
        securityGroupIds - The SecurityGroupIds to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        UpdateClusterRequest.Builder securityGroupIds​(String... securityGroupIds)

        The SecurityGroupIds to update

        Parameters:
        securityGroupIds - The SecurityGroupIds to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maintenanceWindow

        UpdateClusterRequest.Builder maintenanceWindow​(String maintenanceWindow)

        Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

        Valid values for ddd are:

        • sun

        • mon

        • tue

        • wed

        • thu

        • fri

        • sat

        Example: sun:23:00-mon:01:30

        Parameters:
        maintenanceWindow - Specifies the weekly time range during which maintenance on the cluster is performed. It is specified as a range in the format ddd:hh24:mi-ddd:hh24:mi (24H Clock UTC). The minimum maintenance window is a 60 minute period.

        Valid values for ddd are:

        • sun

        • mon

        • tue

        • wed

        • thu

        • fri

        • sat

        Example: sun:23:00-mon:01:30

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicArn

        UpdateClusterRequest.Builder snsTopicArn​(String snsTopicArn)

        The SNS topic ARN to update

        Parameters:
        snsTopicArn - The SNS topic ARN to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicStatus

        UpdateClusterRequest.Builder snsTopicStatus​(String snsTopicStatus)

        The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.

        Parameters:
        snsTopicStatus - The status of the Amazon SNS notification topic. Notifications are sent only if the status is active.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameterGroupName

        UpdateClusterRequest.Builder parameterGroupName​(String parameterGroupName)

        The name of the parameter group to update

        Parameters:
        parameterGroupName - The name of the parameter group to update
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotWindow

        UpdateClusterRequest.Builder snapshotWindow​(String snapshotWindow)

        The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.

        Parameters:
        snapshotWindow - The daily time range (in UTC) during which MemoryDB begins taking a daily snapshot of your cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotRetentionLimit

        UpdateClusterRequest.Builder snapshotRetentionLimit​(Integer snapshotRetentionLimit)

        The number of days for which MemoryDB retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.

        Parameters:
        snapshotRetentionLimit - The number of days for which MemoryDB retains automatic cluster snapshots before deleting them. For example, if you set SnapshotRetentionLimit to 5, a snapshot that was taken today is retained for 5 days before being deleted.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nodeType

        UpdateClusterRequest.Builder nodeType​(String nodeType)

        A valid node type that you want to scale this cluster up or down to.

        Parameters:
        nodeType - A valid node type that you want to scale this cluster up or down to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineVersion

        UpdateClusterRequest.Builder engineVersion​(String engineVersion)

        The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.

        Parameters:
        engineVersion - The upgraded version of the engine to be run on the nodes. You can upgrade to a newer engine version, but you cannot downgrade to an earlier engine version. If you want to use an earlier engine version, you must delete the existing cluster and create it anew with the earlier engine version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicaConfiguration

        UpdateClusterRequest.Builder replicaConfiguration​(ReplicaConfigurationRequest replicaConfiguration)

        The number of replicas that will reside in each shard

        Parameters:
        replicaConfiguration - The number of replicas that will reside in each shard
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • shardConfiguration

        UpdateClusterRequest.Builder shardConfiguration​(ShardConfigurationRequest shardConfiguration)

        The number of shards in the cluster

        Parameters:
        shardConfiguration - The number of shards in the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • aclName

        UpdateClusterRequest.Builder aclName​(String aclName)

        The Access Control List that is associated with the cluster

        Parameters:
        aclName - The Access Control List that is associated with the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.