Interface BrokerNodeGroupInfo.Builder

    • Method Detail

      • brokerAZDistribution

        BrokerNodeGroupInfo.Builder brokerAZDistribution​(String brokerAZDistribution)

        The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.

        Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.

        Parameters:
        brokerAZDistribution -

        The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.

        Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BrokerAZDistribution, BrokerAZDistribution
      • brokerAZDistribution

        BrokerNodeGroupInfo.Builder brokerAZDistribution​(BrokerAZDistribution brokerAZDistribution)

        The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.

        Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.

        Parameters:
        brokerAZDistribution -

        The distribution of broker nodes across Availability Zones. This is an optional parameter. If you don't specify it, Amazon MSK gives it the value DEFAULT. You can also explicitly set this parameter to the value DEFAULT. No other values are currently allowed.

        Amazon MSK distributes the broker nodes evenly across the Availability Zones that correspond to the subnets you provide when you create the cluster.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BrokerAZDistribution, BrokerAZDistribution
      • clientSubnets

        BrokerNodeGroupInfo.Builder clientSubnets​(Collection<String> clientSubnets)

        The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

        Parameters:
        clientSubnets -

        The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

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

        BrokerNodeGroupInfo.Builder clientSubnets​(String... clientSubnets)

        The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

        Parameters:
        clientSubnets -

        The list of subnets to connect to in the client virtual private cloud (VPC). AWS creates elastic network interfaces inside these subnets. Client applications use elastic network interfaces to produce and consume data. Client subnets can't occupy the Availability Zone with ID use use1-az3.

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

        BrokerNodeGroupInfo.Builder instanceType​(String instanceType)

        The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.

        Parameters:
        instanceType -

        The type of Amazon EC2 instances to use for Apache Kafka brokers. The following instance types are allowed: kafka.m5.large, kafka.m5.xlarge, kafka.m5.2xlarge, kafka.m5.4xlarge, kafka.m5.12xlarge, and kafka.m5.24xlarge.

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

        BrokerNodeGroupInfo.Builder securityGroups​(Collection<String> securityGroups)

        The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.

        Parameters:
        securityGroups -

        The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.

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

        BrokerNodeGroupInfo.Builder securityGroups​(String... securityGroups)

        The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.

        Parameters:
        securityGroups -

        The AWS security groups to associate with the elastic network interfaces in order to specify who can connect to and communicate with the Amazon MSK cluster. If you don't specify a security group, Amazon MSK uses the default security group associated with the VPC.

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

        BrokerNodeGroupInfo.Builder storageInfo​(StorageInfo storageInfo)

        Contains information about storage volumes attached to MSK broker nodes.

        Parameters:
        storageInfo -

        Contains information about storage volumes attached to MSK broker nodes.

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

        BrokerNodeGroupInfo.Builder connectivityInfo​(ConnectivityInfo connectivityInfo)

        Information about the broker access configuration.

        Parameters:
        connectivityInfo -

        Information about the broker access configuration.

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

        BrokerNodeGroupInfo.Builder zoneIds​(Collection<String> zoneIds)

        The list of zoneIds for the cluster in the virtual private cloud (VPC).

        Parameters:
        zoneIds -

        The list of zoneIds for the cluster in the virtual private cloud (VPC).

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

        BrokerNodeGroupInfo.Builder zoneIds​(String... zoneIds)

        The list of zoneIds for the cluster in the virtual private cloud (VPC).

        Parameters:
        zoneIds -

        The list of zoneIds for the cluster in the virtual private cloud (VPC).

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