Interface ResourceScope.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceScope.Builder,,ResourceScope> SdkBuilder<ResourceScope.Builder,,ResourceScope> SdkPojo
- Enclosing class:
ResourceScope
@Mutable
@NotThreadSafe
public static interface ResourceScope.Builder
extends SdkPojo, CopyableBuilder<ResourceScope.Builder,ResourceScope>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceScope.Builderexclude(Consumer<ResourceSet.Builder> exclude) Excludes the resources that match the specified criteria or explicit ARNs.exclude(ResourceSet exclude) Excludes the resources that match the specified criteria or explicit ARNs.default ResourceScope.Builderinclude(Consumer<ResourceSet.Builder> include) Includes the resources that match the specified criteria or explicit ARNs.include(ResourceSet include) Includes the resources that match the specified criteria or explicit ARNs.includeAll(Boolean includeAll) Includes all resources of the resource type.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
-
includeAll
Includes all resources of the resource type.
- Parameters:
includeAll- Includes all resources of the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
Includes the resources that match the specified criteria or explicit ARNs.
- Parameters:
include- Includes the resources that match the specified criteria or explicit ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
include
Includes the resources that match the specified criteria or explicit ARNs.
This is a convenience method that creates an instance of theResourceSet.Builderavoiding the need to create one manually viaResourceSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinclude(ResourceSet).- Parameters:
include- a consumer that will call methods onResourceSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
exclude
Excludes the resources that match the specified criteria or explicit ARNs.
- Parameters:
exclude- Excludes the resources that match the specified criteria or explicit ARNs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exclude
Excludes the resources that match the specified criteria or explicit ARNs.
This is a convenience method that creates an instance of theResourceSet.Builderavoiding the need to create one manually viaResourceSet.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexclude(ResourceSet).- Parameters:
exclude- a consumer that will call methods onResourceSet.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-