Interface ReplicationRuleAndOperator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ReplicationRuleAndOperator.Builder,
,ReplicationRuleAndOperator> SdkBuilder<ReplicationRuleAndOperator.Builder,
,ReplicationRuleAndOperator> SdkPojo
- Enclosing class:
ReplicationRuleAndOperator
@Mutable
@NotThreadSafe
public static interface ReplicationRuleAndOperator.Builder
extends SdkPojo, CopyableBuilder<ReplicationRuleAndOperator.Builder,ReplicationRuleAndOperator>
-
Method Summary
Modifier and TypeMethodDescriptionAn object key name prefix that identifies the subset of objects that the rule applies to.tags
(Collection<S3Tag> tags) An array of tags that contain key and value pairs.tags
(Consumer<S3Tag.Builder>... tags) An array of tags that contain key and value pairs.An array of tags that contain key and value pairs.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 Details
-
prefix
An object key name prefix that identifies the subset of objects that the rule applies to.
- Parameters:
prefix
- An object key name prefix that identifies the subset of objects that the rule applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags that contain key and value pairs.
- Parameters:
tags
- An array of tags that contain key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags that contain key and value pairs.
- Parameters:
tags
- An array of tags that contain key and value pairs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An array of tags that contain key and value pairs.
This is a convenience method that creates an instance of theS3Tag.Builder
avoiding the need to create one manually viaS3Tag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<S3Tag>)
.- Parameters:
tags
- a consumer that will call methods onS3Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-