Interface PutReplicationConfigurationRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<PutReplicationConfigurationRequest.Builder,PutReplicationConfigurationRequest>
,EcrRequest.Builder
,SdkBuilder<PutReplicationConfigurationRequest.Builder,PutReplicationConfigurationRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- PutReplicationConfigurationRequest
public static interface PutReplicationConfigurationRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<PutReplicationConfigurationRequest.Builder,PutReplicationConfigurationRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description PutReplicationConfigurationRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
PutReplicationConfigurationRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default PutReplicationConfigurationRequest.Builder
replicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration)
An object representing the replication configuration for a registry.PutReplicationConfigurationRequest.Builder
replicationConfiguration(ReplicationConfiguration replicationConfiguration)
An object representing the replication configuration for a registry.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ecr.model.EcrRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
replicationConfiguration
PutReplicationConfigurationRequest.Builder replicationConfiguration(ReplicationConfiguration replicationConfiguration)
An object representing the replication configuration for a registry.
- Parameters:
replicationConfiguration
- An object representing the replication configuration for a registry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
replicationConfiguration
default PutReplicationConfigurationRequest.Builder replicationConfiguration(Consumer<ReplicationConfiguration.Builder> replicationConfiguration)
An object representing the replication configuration for a registry.
This is a convenience method that creates an instance of theReplicationConfiguration.Builder
avoiding the need to create one manually viaReplicationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toreplicationConfiguration(ReplicationConfiguration)
.- Parameters:
replicationConfiguration
- a consumer that will call methods onReplicationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
replicationConfiguration(ReplicationConfiguration)
-
overrideConfiguration
PutReplicationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
PutReplicationConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-