public static interface DataReplicationMetadataOutput.Builder extends SdkPojo, CopyableBuilder<DataReplicationMetadataOutput.Builder,DataReplicationMetadataOutput>
| Modifier and Type | Method and Description |
|---|---|
default DataReplicationMetadataOutput.Builder |
dataReplicationCounterpart(Consumer<DataReplicationCounterpart.Builder> dataReplicationCounterpart)
Describes the replica/primary broker.
|
DataReplicationMetadataOutput.Builder |
dataReplicationCounterpart(DataReplicationCounterpart dataReplicationCounterpart)
Describes the replica/primary broker.
|
DataReplicationMetadataOutput.Builder |
dataReplicationRole(String dataReplicationRole)
Defines the role of this broker in a data replication pair.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDataReplicationMetadataOutput.Builder dataReplicationCounterpart(DataReplicationCounterpart dataReplicationCounterpart)
Describes the replica/primary broker. Only returned if this broker is currently set as a primary or replica in the broker's dataReplicationRole property.
dataReplicationCounterpart - Describes the replica/primary broker. Only returned if this broker is currently set as a primary or
replica in the broker's dataReplicationRole property.default DataReplicationMetadataOutput.Builder dataReplicationCounterpart(Consumer<DataReplicationCounterpart.Builder> dataReplicationCounterpart)
Describes the replica/primary broker. Only returned if this broker is currently set as a primary or replica in the broker's dataReplicationRole property.
This is a convenience method that creates an instance of theDataReplicationCounterpart.Builder
avoiding the need to create one manually via DataReplicationCounterpart.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to dataReplicationCounterpart(DataReplicationCounterpart).
dataReplicationCounterpart - a consumer that will call methods on DataReplicationCounterpart.BuilderdataReplicationCounterpart(DataReplicationCounterpart)DataReplicationMetadataOutput.Builder dataReplicationRole(String dataReplicationRole)
Defines the role of this broker in a data replication pair. When a replica broker is promoted to primary, this role is interchanged.
dataReplicationRole - Defines the role of this broker in a data replication pair. When a replica broker is promoted to
primary, this role is interchanged.Copyright © 2023. All rights reserved.