Interface Replica.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Replica.Builder,,Replica> SdkBuilder<Replica.Builder,,Replica> SdkPojo
- Enclosing class:
Replica
-
Method Summary
Modifier and TypeMethodDescriptioncanaryState(String canaryState) The current state of the canary in this replica location.canaryState(CanaryState canaryState) The current state of the canary in this replica location.lastModified(Instant lastModified) The date and time that the replica was last modified.The Amazon Web Services Region where this replica is located.default Replica.BuilderreplicationStatus(Consumer<ReplicationStatus.Builder> replicationStatus) A structure that contains information about the replication status of this replica.replicationStatus(ReplicationStatus replicationStatus) A structure that contains information about the replication status of this replica.default Replica.BuildervpcConfig(Consumer<VpcConfigOutput.Builder> vpcConfig) The VPC configuration for the canary replica in this location.vpcConfig(VpcConfigOutput vpcConfig) The VPC configuration for the canary replica in this location.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
location
The Amazon Web Services Region where this replica is located.
- Parameters:
location- The Amazon Web Services Region where this replica is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStatus
A structure that contains information about the replication status of this replica.
- Parameters:
replicationStatus- A structure that contains information about the replication status of this replica.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationStatus
A structure that contains information about the replication status of this replica.
This is a convenience method that creates an instance of theReplicationStatus.Builderavoiding the need to create one manually viaReplicationStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toreplicationStatus(ReplicationStatus).- Parameters:
replicationStatus- a consumer that will call methods onReplicationStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canaryState
The current state of the canary in this replica location.
- Parameters:
canaryState- The current state of the canary in this replica location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
canaryState
The current state of the canary in this replica location.
- Parameters:
canaryState- The current state of the canary in this replica location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModified
The date and time that the replica was last modified.
- Parameters:
lastModified- The date and time that the replica was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the canary replica in this location.
- Parameters:
vpcConfig- The VPC configuration for the canary replica in this location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
The VPC configuration for the canary replica in this location.
This is a convenience method that creates an instance of theVpcConfigOutput.Builderavoiding the need to create one manually viaVpcConfigOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfigOutput).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfigOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-