public static interface ReplicationRuleFilter.Builder extends SdkPojo, CopyableBuilder<ReplicationRuleFilter.Builder,ReplicationRuleFilter>
| Modifier and Type | Method and Description |
|---|---|
default ReplicationRuleFilter.Builder |
and(Consumer<ReplicationRuleAndOperator.Builder> and)
A container for specifying rule filters.
|
ReplicationRuleFilter.Builder |
and(ReplicationRuleAndOperator and)
A container for specifying rule filters.
|
ReplicationRuleFilter.Builder |
prefix(String prefix)
An object key name prefix that identifies the subset of objects that the rule applies to.
|
default ReplicationRuleFilter.Builder |
tag(Consumer<S3Tag.Builder> tag)
Sets the value of the Tag property for this object.
|
ReplicationRuleFilter.Builder |
tag(S3Tag tag)
Sets the value of the Tag property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildReplicationRuleFilter.Builder prefix(String prefix)
An object key name prefix that identifies the subset of objects that the rule applies to.
When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.
prefix - An object key name prefix that identifies the subset of objects that the rule applies to.
When you're using XML requests, you must replace special characters (such as carriage returns) in object keys with their equivalent XML entity codes. For more information, see XML-related object key constraints in the Amazon S3 User Guide.
ReplicationRuleFilter.Builder tag(S3Tag tag)
tag - The new value for the Tag property for this object.default ReplicationRuleFilter.Builder tag(Consumer<S3Tag.Builder> tag)
S3Tag.Builder avoiding the need to
create one manually via S3Tag.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to tag(S3Tag).
tag - a consumer that will call methods on S3Tag.Buildertag(S3Tag)ReplicationRuleFilter.Builder and(ReplicationRuleAndOperator and)
A container for specifying rule filters. The filters determine the subset of objects that the rule applies to. This element is required only if you specify more than one filter. For example:
If you specify both a Prefix and a Tag filter, wrap these filters in an
And element.
If you specify a filter based on multiple tags, wrap the Tag elements in an And
element.
and - A container for specifying rule filters. The filters determine the subset of objects that the rule
applies to. This element is required only if you specify more than one filter. For example:
If you specify both a Prefix and a Tag filter, wrap these filters in an
And element.
If you specify a filter based on multiple tags, wrap the Tag elements in an
And element.
default ReplicationRuleFilter.Builder and(Consumer<ReplicationRuleAndOperator.Builder> and)
A container for specifying rule filters. The filters determine the subset of objects that the rule applies to. This element is required only if you specify more than one filter. For example:
If you specify both a Prefix and a Tag filter, wrap these filters in an
And element.
If you specify a filter based on multiple tags, wrap the Tag elements in an And
element.
ReplicationRuleAndOperator.Builder
avoiding the need to create one manually via ReplicationRuleAndOperator.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to and(ReplicationRuleAndOperator).
and - a consumer that will call methods on ReplicationRuleAndOperator.Builderand(ReplicationRuleAndOperator)Copyright © 2023. All rights reserved.