Interface ClusterConfiguration.Builder

    • Method Detail

      • name

        ClusterConfiguration.Builder name​(String name)

        The name of the cluster

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

        ClusterConfiguration.Builder description​(String description)

        The description of the cluster configuration

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

        ClusterConfiguration.Builder nodeType​(String nodeType)

        The node type used for the cluster

        Parameters:
        nodeType - The node type used for the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engine

        ClusterConfiguration.Builder engine​(String engine)

        The name of the engine used by the cluster configuration.

        Parameters:
        engine - The name of the engine used by the cluster configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • engineVersion

        ClusterConfiguration.Builder engineVersion​(String engineVersion)

        The Redis OSS engine version used by the cluster

        Parameters:
        engineVersion - The Redis OSS engine version used by the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maintenanceWindow

        ClusterConfiguration.Builder maintenanceWindow​(String maintenanceWindow)

        The specified maintenance window for the cluster

        Parameters:
        maintenanceWindow - The specified maintenance window for the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • topicArn

        ClusterConfiguration.Builder topicArn​(String topicArn)

        The Amazon Resource Name (ARN) of the SNS notification topic for the cluster

        Parameters:
        topicArn - The Amazon Resource Name (ARN) of the SNS notification topic for the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • port

        ClusterConfiguration.Builder port​(Integer port)

        The port used by the cluster

        Parameters:
        port - The port used by the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameterGroupName

        ClusterConfiguration.Builder parameterGroupName​(String parameterGroupName)

        The name of parameter group used by the cluster

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

        ClusterConfiguration.Builder subnetGroupName​(String subnetGroupName)

        The name of the subnet group used by the cluster

        Parameters:
        subnetGroupName - The name of the subnet group used by the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        ClusterConfiguration.Builder vpcId​(String vpcId)

        The ID of the VPC the cluster belongs to

        Parameters:
        vpcId - The ID of the VPC the cluster belongs to
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotRetentionLimit

        ClusterConfiguration.Builder snapshotRetentionLimit​(Integer snapshotRetentionLimit)

        The snapshot retention limit set by the cluster

        Parameters:
        snapshotRetentionLimit - The snapshot retention limit set by the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snapshotWindow

        ClusterConfiguration.Builder snapshotWindow​(String snapshotWindow)

        The snapshot window set by the cluster

        Parameters:
        snapshotWindow - The snapshot window set by the cluster
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numShards

        ClusterConfiguration.Builder numShards​(Integer numShards)

        The number of shards in the cluster

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

        ClusterConfiguration.Builder shards​(Collection<ShardDetail> shards)

        The list of shards in the cluster

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

        ClusterConfiguration.Builder shards​(ShardDetail... shards)

        The list of shards in the cluster

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

        ClusterConfiguration.Builder multiRegionParameterGroupName​(String multiRegionParameterGroupName)

        The name of the multi-Region parameter group associated with the cluster configuration.

        Parameters:
        multiRegionParameterGroupName - The name of the multi-Region parameter group associated with the cluster configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • multiRegionClusterName

        ClusterConfiguration.Builder multiRegionClusterName​(String multiRegionClusterName)

        The name for the multi-Region cluster associated with the cluster configuration.

        Parameters:
        multiRegionClusterName - The name for the multi-Region cluster associated with the cluster configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.