Interface ReplicatorSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ReplicatorSummary.Builder,ReplicatorSummary>,SdkBuilder<ReplicatorSummary.Builder,ReplicatorSummary>,SdkPojo
- Enclosing class:
- ReplicatorSummary
public static interface ReplicatorSummary.Builder extends SdkPojo, CopyableBuilder<ReplicatorSummary.Builder,ReplicatorSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ReplicatorSummary.BuildercreationTime(Instant creationTime)The time the replicator was created.ReplicatorSummary.BuildercurrentVersion(String currentVersion)The current version of the replicator.ReplicatorSummary.BuilderisReplicatorReference(Boolean isReplicatorReference)Whether this resource is a replicator reference.ReplicatorSummary.BuilderkafkaClustersSummary(Collection<KafkaClusterSummary> kafkaClustersSummary)Kafka Clusters used in setting up sources / targets for replication.ReplicatorSummary.BuilderkafkaClustersSummary(Consumer<KafkaClusterSummary.Builder>... kafkaClustersSummary)Kafka Clusters used in setting up sources / targets for replication.ReplicatorSummary.BuilderkafkaClustersSummary(KafkaClusterSummary... kafkaClustersSummary)Kafka Clusters used in setting up sources / targets for replication.ReplicatorSummary.BuilderreplicationInfoSummaryList(Collection<ReplicationInfoSummary> replicationInfoSummaryList)A list of summarized information of replications between clusters.ReplicatorSummary.BuilderreplicationInfoSummaryList(Consumer<ReplicationInfoSummary.Builder>... replicationInfoSummaryList)A list of summarized information of replications between clusters.ReplicatorSummary.BuilderreplicationInfoSummaryList(ReplicationInfoSummary... replicationInfoSummaryList)A list of summarized information of replications between clusters.ReplicatorSummary.BuilderreplicatorArn(String replicatorArn)The Amazon Resource Name (ARN) of the replicator.ReplicatorSummary.BuilderreplicatorName(String replicatorName)The name of the replicator.ReplicatorSummary.BuilderreplicatorResourceArn(String replicatorResourceArn)The Amazon Resource Name (ARN) of the replicator resource in the region where the replicator was created.ReplicatorSummary.BuilderreplicatorState(String replicatorState)State of the replicator.ReplicatorSummary.BuilderreplicatorState(ReplicatorState replicatorState)State of the replicator.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
creationTime
ReplicatorSummary.Builder creationTime(Instant creationTime)
The time the replicator was created.
- Parameters:
creationTime- The time the replicator was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentVersion
ReplicatorSummary.Builder currentVersion(String currentVersion)
The current version of the replicator.
- Parameters:
currentVersion- The current version of the replicator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isReplicatorReference
ReplicatorSummary.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.
-
kafkaClustersSummary
ReplicatorSummary.Builder kafkaClustersSummary(Collection<KafkaClusterSummary> kafkaClustersSummary)
Kafka Clusters used in setting up sources / targets for replication.
- Parameters:
kafkaClustersSummary- 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.
-
kafkaClustersSummary
ReplicatorSummary.Builder kafkaClustersSummary(KafkaClusterSummary... kafkaClustersSummary)
Kafka Clusters used in setting up sources / targets for replication.
- Parameters:
kafkaClustersSummary- 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.
-
kafkaClustersSummary
ReplicatorSummary.Builder kafkaClustersSummary(Consumer<KafkaClusterSummary.Builder>... kafkaClustersSummary)
Kafka Clusters used in setting up sources / targets for replication.
This is a convenience method that creates an instance of theKafkaClusterSummary.Builderavoiding the need to create one manually viaKafkaClusterSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#kafkaClustersSummary(List.) - Parameters:
kafkaClustersSummary- a consumer that will call methods onKafkaClusterSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#kafkaClustersSummary(java.util.Collection)
-
replicationInfoSummaryList
ReplicatorSummary.Builder replicationInfoSummaryList(Collection<ReplicationInfoSummary> replicationInfoSummaryList)
A list of summarized information of replications between clusters.
- Parameters:
replicationInfoSummaryList- A list of summarized information of replications between clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInfoSummaryList
ReplicatorSummary.Builder replicationInfoSummaryList(ReplicationInfoSummary... replicationInfoSummaryList)
A list of summarized information of replications between clusters.
- Parameters:
replicationInfoSummaryList- A list of summarized information of replications between clusters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationInfoSummaryList
ReplicatorSummary.Builder replicationInfoSummaryList(Consumer<ReplicationInfoSummary.Builder>... replicationInfoSummaryList)
A list of summarized information of replications between clusters.
This is a convenience method that creates an instance of theReplicationInfoSummary.Builderavoiding the need to create one manually viaReplicationInfoSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#replicationInfoSummaryList(List.) - Parameters:
replicationInfoSummaryList- a consumer that will call methods onReplicationInfoSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#replicationInfoSummaryList(java.util.Collection)
-
replicatorArn
ReplicatorSummary.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.
-
replicatorName
ReplicatorSummary.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
ReplicatorSummary.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
ReplicatorSummary.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
ReplicatorSummary.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
-
-