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 TypeMethodDescriptiondefault ResourceSet.BuilderallResourcesInRegion(Consumer<Unit.Builder> allResourcesInRegion) Authorizes the support operator to act on all resources in the Region.allResourcesInRegion(Unit allResourcesInRegion) Authorizes the support operator to act on all resources in the Region.A list of specific resource identifiers that the support operator is authorized to act upon.resources(Collection<String> resources) A list of specific resource identifiers that the support operator is authorized to act upon.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
-
allResourcesInRegion
Authorizes the support operator to act on all resources in the Region.
- Parameters:
allResourcesInRegion- Authorizes the support operator to act on all resources in the Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allResourcesInRegion
Authorizes the support operator to act on all resources in the Region.
This is a convenience method that creates an instance of theUnit.Builderavoiding the need to create one manually viaUnit.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallResourcesInRegion(Unit).- Parameters:
allResourcesInRegion- a consumer that will call methods onUnit.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resources
A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.
- Parameters:
resources- A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.
- Parameters:
resources- A list of specific resource identifiers that the support operator is authorized to act upon. Maximum of 5 resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-