Interface BrokerNodeInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BrokerNodeInfo.Builder,
,BrokerNodeInfo> SdkBuilder<BrokerNodeInfo.Builder,
,BrokerNodeInfo> SdkPojo
- Enclosing class:
BrokerNodeInfo
-
Method Summary
Modifier and TypeMethodDescriptionattachedENIId
(String attachedENIId) The attached elastic network interface of the broker.The ID of the broker.clientSubnet
(String clientSubnet) The client subnet to which this broker node belongs.clientVpcIpAddress
(String clientVpcIpAddress) The virtual private cloud (VPC) of the client.default BrokerNodeInfo.Builder
currentBrokerSoftwareInfo
(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo) Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.currentBrokerSoftwareInfo
(BrokerSoftwareInfo currentBrokerSoftwareInfo) Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.Endpoints for accessing the broker.endpoints
(Collection<String> endpoints) Endpoints for accessing the broker.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
attachedENIId
The attached elastic network interface of the broker.
- Parameters:
attachedENIId
-The attached elastic network interface of the broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
brokerId
The ID of the broker.
- Parameters:
brokerId
-The ID of the broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSubnet
The client subnet to which this broker node belongs.
- Parameters:
clientSubnet
-The client subnet to which this broker node belongs.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientVpcIpAddress
The virtual private cloud (VPC) of the client.
- Parameters:
clientVpcIpAddress
-The virtual private cloud (VPC) of the client.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentBrokerSoftwareInfo
Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
- Parameters:
currentBrokerSoftwareInfo
-Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentBrokerSoftwareInfo
default BrokerNodeInfo.Builder currentBrokerSoftwareInfo(Consumer<BrokerSoftwareInfo.Builder> currentBrokerSoftwareInfo) Information about the version of software currently deployed on the Apache Kafka brokers in the cluster.
This is a convenience method that creates an instance of theBrokerSoftwareInfo.Builder
avoiding the need to create one manually viaBrokerSoftwareInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentBrokerSoftwareInfo(BrokerSoftwareInfo)
.- Parameters:
currentBrokerSoftwareInfo
- a consumer that will call methods onBrokerSoftwareInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
endpoints
Endpoints for accessing the broker.
- Parameters:
endpoints
-Endpoints for accessing the broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
Endpoints for accessing the broker.
- Parameters:
endpoints
-Endpoints for accessing the broker.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-