Interface BrokerNodeGroupInfo.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BrokerNodeGroupInfo.Builder,BrokerNodeGroupInfo>, SdkBuilder<BrokerNodeGroupInfo.Builder,BrokerNodeGroupInfo>, SdkPojo
Enclosing class:
BrokerNodeGroupInfo

public static interface BrokerNodeGroupInfo.Builder extends SdkPojo, CopyableBuilder<BrokerNodeGroupInfo.Builder,BrokerNodeGroupInfo>
  • Method Details

    • 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

      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:
    • 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.
    • storageInfo

      default BrokerNodeGroupInfo.Builder storageInfo(Consumer<StorageInfo.Builder> storageInfo)

      Contains information about storage volumes attached to MSK broker nodes.

      This is a convenience method that creates an instance of the StorageInfo.Builder avoiding the need to create one manually via StorageInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to storageInfo(StorageInfo).

      Parameters:
      storageInfo - a consumer that will call methods on StorageInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.
    • connectivityInfo

      default BrokerNodeGroupInfo.Builder connectivityInfo(Consumer<ConnectivityInfo.Builder> connectivityInfo)

      Information about the broker access configuration.

      This is a convenience method that creates an instance of the ConnectivityInfo.Builder avoiding the need to create one manually via ConnectivityInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to connectivityInfo(ConnectivityInfo).

      Parameters:
      connectivityInfo - a consumer that will call methods on ConnectivityInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.