Interface DescribeReplicatorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeReplicatorResponse.Builder,
,DescribeReplicatorResponse> KafkaResponse.Builder
,SdkBuilder<DescribeReplicatorResponse.Builder,
,DescribeReplicatorResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeReplicatorResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time when the replicator was created.currentVersion
(String currentVersion) The current version number of the replicator.isReplicatorReference
(Boolean isReplicatorReference) Whether this resource is a replicator reference.kafkaClusters
(Collection<KafkaClusterDescription> kafkaClusters) Kafka Clusters used in setting up sources / targets for replication.kafkaClusters
(Consumer<KafkaClusterDescription.Builder>... kafkaClusters) Kafka Clusters used in setting up sources / targets for replication.kafkaClusters
(KafkaClusterDescription... kafkaClusters) Kafka Clusters used in setting up sources / targets for replication.replicationInfoList
(Collection<ReplicationInfoDescription> replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicationInfoList
(Consumer<ReplicationInfoDescription.Builder>... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicationInfoList
(ReplicationInfoDescription... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.replicatorArn
(String replicatorArn) The Amazon Resource Name (ARN) of the replicator.replicatorDescription
(String replicatorDescription) The description of the replicator.replicatorName
(String replicatorName) The name of the replicator.replicatorResourceArn
(String replicatorResourceArn) The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.replicatorState
(String replicatorState) State of the replicator.replicatorState
(ReplicatorState replicatorState) State of the replicator.serviceExecutionRoleArn
(String serviceExecutionRoleArn) The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)stateInfo
(Consumer<ReplicationStateInfo.Builder> stateInfo) Details about the state of the replicator.stateInfo
(ReplicationStateInfo stateInfo) Details about the state of the replicator.List of tags attached to the Replicator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.kafka.model.KafkaResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
creationTime
The time when the replicator was created.
- Parameters:
creationTime
- The time when the replicator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
The current version number of the replicator.
- Parameters:
currentVersion
- The current version number of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReplicatorReference
Whether this resource is a replicator reference.
- Parameters:
isReplicatorReference
- Whether this resource is a replicator reference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusters
Kafka Clusters used in setting up sources / targets for replication.
- Parameters:
kafkaClusters
- Kafka Clusters used in setting up sources / targets for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusters
Kafka Clusters used in setting up sources / targets for replication.
- Parameters:
kafkaClusters
- Kafka Clusters used in setting up sources / targets for replication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kafkaClusters
DescribeReplicatorResponse.Builder kafkaClusters(Consumer<KafkaClusterDescription.Builder>... kafkaClusters) Kafka Clusters used in setting up sources / targets for replication.
This is a convenience method that creates an instance of theKafkaClusterDescription.Builder
avoiding the need to create one manually viaKafkaClusterDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokafkaClusters(List<KafkaClusterDescription>)
.- Parameters:
kafkaClusters
- a consumer that will call methods onKafkaClusterDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicationInfoList
DescribeReplicatorResponse.Builder replicationInfoList(Collection<ReplicationInfoDescription> replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- Parameters:
replicationInfoList
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInfoList
DescribeReplicatorResponse.Builder replicationInfoList(ReplicationInfoDescription... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
- Parameters:
replicationInfoList
- A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInfoList
DescribeReplicatorResponse.Builder replicationInfoList(Consumer<ReplicationInfoDescription.Builder>... replicationInfoList) A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.
This is a convenience method that creates an instance of theReplicationInfoDescription.Builder
avoiding the need to create one manually viaReplicationInfoDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationInfoList(List<ReplicationInfoDescription>)
.- Parameters:
replicationInfoList
- a consumer that will call methods onReplicationInfoDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicatorArn
The Amazon Resource Name (ARN) of the replicator.
- Parameters:
replicatorArn
- The Amazon Resource Name (ARN) of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatorDescription
The description of the replicator.
- Parameters:
replicatorDescription
- The description of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatorName
The name of the replicator.
- Parameters:
replicatorName
- The name of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatorResourceArn
The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.
- Parameters:
replicatorResourceArn
- The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicatorState
State of the replicator.
- Parameters:
replicatorState
- State of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
replicatorState
State of the replicator.
- Parameters:
replicatorState
- State of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceExecutionRoleArn
The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)
- Parameters:
serviceExecutionRoleArn
- The Amazon Resource Name (ARN) of the IAM role used by the replicator to access resources in the customer's account (e.g source and target clusters)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateInfo
Details about the state of the replicator.
- Parameters:
stateInfo
- Details about the state of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateInfo
default DescribeReplicatorResponse.Builder stateInfo(Consumer<ReplicationStateInfo.Builder> stateInfo) Details about the state of the replicator.
This is a convenience method that creates an instance of theReplicationStateInfo.Builder
avoiding the need to create one manually viaReplicationStateInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostateInfo(ReplicationStateInfo)
.- Parameters:
stateInfo
- a consumer that will call methods onReplicationStateInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
List of tags attached to the Replicator.
- Parameters:
tags
- List of tags attached to the Replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-