Interface ReplicationRule.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationRule.Builder,
,ReplicationRule> SdkBuilder<ReplicationRule.Builder,
,ReplicationRule> SdkPojo
- Enclosing class:
ReplicationRule
-
Method Summary
Modifier and TypeMethodDescriptiondestinations
(Collection<ReplicationDestination> destinations) An array of objects representing the destination for a replication rule.destinations
(Consumer<ReplicationDestination.Builder>... destinations) An array of objects representing the destination for a replication rule.destinations
(ReplicationDestination... destinations) An array of objects representing the destination for a replication rule.repositoryFilters
(Collection<RepositoryFilter> repositoryFilters) An array of objects representing the filters for a replication rule.repositoryFilters
(Consumer<RepositoryFilter.Builder>... repositoryFilters) An array of objects representing the filters for a replication rule.repositoryFilters
(RepositoryFilter... repositoryFilters) An array of objects representing the filters for a replication rule.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, sdkFields
-
Method Details
-
destinations
An array of objects representing the destination for a replication rule.
- Parameters:
destinations
- An array of objects representing the destination for a replication rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
An array of objects representing the destination for a replication rule.
- Parameters:
destinations
- An array of objects representing the destination for a replication rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
destinations
An array of objects representing the destination for a replication rule.
This is a convenience method that creates an instance of theReplicationDestination.Builder
avoiding the need to create one manually viaReplicationDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todestinations(List<ReplicationDestination>)
.- Parameters:
destinations
- a consumer that will call methods onReplicationDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
repositoryFilters
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
- Parameters:
repositoryFilters
- An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
- Parameters:
repositoryFilters
- An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositoryFilters
An array of objects representing the filters for a replication rule. Specifying a repository filter for a replication rule provides a method for controlling which repositories in a private registry are replicated.
This is a convenience method that creates an instance of theRepositoryFilter.Builder
avoiding the need to create one manually viaRepositoryFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepositoryFilters(List<RepositoryFilter>)
.- Parameters:
repositoryFilters
- a consumer that will call methods onRepositoryFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-