Interface DescribeReplicatorResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeReplicatorResponse.Builder,DescribeReplicatorResponse>
,KafkaResponse.Builder
,SdkBuilder<DescribeReplicatorResponse.Builder,DescribeReplicatorResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- DescribeReplicatorResponse
public static interface DescribeReplicatorResponse.Builder extends KafkaResponse.Builder, SdkPojo, CopyableBuilder<DescribeReplicatorResponse.Builder,DescribeReplicatorResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeReplicatorResponse.Builder
creationTime(Instant creationTime)
The time when the replicator was created.DescribeReplicatorResponse.Builder
currentVersion(String currentVersion)
The current version number of the replicator.DescribeReplicatorResponse.Builder
isReplicatorReference(Boolean isReplicatorReference)
Whether this resource is a replicator reference.DescribeReplicatorResponse.Builder
kafkaClusters(Collection<KafkaClusterDescription> kafkaClusters)
Kafka Clusters used in setting up sources / targets for replication.DescribeReplicatorResponse.Builder
kafkaClusters(Consumer<KafkaClusterDescription.Builder>... kafkaClusters)
Kafka Clusters used in setting up sources / targets for replication.DescribeReplicatorResponse.Builder
kafkaClusters(KafkaClusterDescription... kafkaClusters)
Kafka Clusters used in setting up sources / targets for replication.DescribeReplicatorResponse.Builder
replicationInfoList(Collection<ReplicationInfoDescription> replicationInfoList)
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.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.DescribeReplicatorResponse.Builder
replicationInfoList(ReplicationInfoDescription... replicationInfoList)
A list of replication configurations, where each configuration targets a given source cluster to target cluster replication flow.DescribeReplicatorResponse.Builder
replicatorArn(String replicatorArn)
The Amazon Resource Name (ARN) of the replicator.DescribeReplicatorResponse.Builder
replicatorDescription(String replicatorDescription)
The description of the replicator.DescribeReplicatorResponse.Builder
replicatorName(String replicatorName)
The name of the replicator.DescribeReplicatorResponse.Builder
replicatorResourceArn(String replicatorResourceArn)
The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.DescribeReplicatorResponse.Builder
replicatorState(String replicatorState)
State of the replicator.DescribeReplicatorResponse.Builder
replicatorState(ReplicatorState replicatorState)
State of the replicator.DescribeReplicatorResponse.Builder
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)default DescribeReplicatorResponse.Builder
stateInfo(Consumer<ReplicationStateInfo.Builder> stateInfo)
Details about the state of the replicator.DescribeReplicatorResponse.Builder
stateInfo(ReplicationStateInfo stateInfo)
Details about the state of the replicator.DescribeReplicatorResponse.Builder
tags(Map<String,String> tags)
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 Detail
-
creationTime
DescribeReplicatorResponse.Builder creationTime(Instant 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
DescribeReplicatorResponse.Builder currentVersion(String 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
DescribeReplicatorResponse.Builder isReplicatorReference(Boolean 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
DescribeReplicatorResponse.Builder kafkaClusters(Collection<KafkaClusterDescription> 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(KafkaClusterDescription... 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 to#kafkaClusters(List
.) - 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:
#kafkaClusters(java.util.Collection
)
-
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 to#replicationInfoList(List
.) - 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:
#replicationInfoList(java.util.Collection
)
-
replicatorArn
DescribeReplicatorResponse.Builder replicatorArn(String 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
DescribeReplicatorResponse.Builder replicatorDescription(String 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
DescribeReplicatorResponse.Builder replicatorName(String 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
DescribeReplicatorResponse.Builder replicatorResourceArn(String 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
DescribeReplicatorResponse.Builder replicatorState(String 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
,ReplicatorState
-
replicatorState
DescribeReplicatorResponse.Builder replicatorState(ReplicatorState 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
,ReplicatorState
-
serviceExecutionRoleArn
DescribeReplicatorResponse.Builder 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)
- 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
DescribeReplicatorResponse.Builder stateInfo(ReplicationStateInfo 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:
stateInfo(ReplicationStateInfo)
-
tags
DescribeReplicatorResponse.Builder tags(Map<String,String> 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.
-
-