Interface ResourceSet.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceSet.Builder,,ResourceSet> SdkBuilder<ResourceSet.Builder,,ResourceSet> SdkPojo
- Enclosing class:
ResourceSet
@Mutable
@NotThreadSafe
public static interface ResourceSet.Builder
extends SdkPojo, CopyableBuilder<ResourceSet.Builder,ResourceSet>
-
Method Summary
Modifier and TypeMethodDescriptionexplicitArns(String... explicitArns) An explicit list of resource ARNs.explicitArns(Collection<String> explicitArns) An explicit list of resource ARNs.default ResourceSet.Builderexpression(Consumer<ResourceLogicalExpression.Builder> expression) A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.expression(ResourceLogicalExpression expression) A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.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
-
explicitArns
An explicit list of resource ARNs.
- Parameters:
explicitArns- An explicit list of resource ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
explicitArns
An explicit list of resource ARNs.
- Parameters:
explicitArns- An explicit list of resource ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.
- Parameters:
expression- A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expression
A logical expression that selects resources by combining criteria with AND, OR, and NOT operators.
This is a convenience method that creates an instance of theResourceLogicalExpression.Builderavoiding the need to create one manually viaResourceLogicalExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexpression(ResourceLogicalExpression).- Parameters:
expression- a consumer that will call methods onResourceLogicalExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-