Interface UpdateSpaceResourcesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateSpaceResourcesRequest.Builder,,UpdateSpaceResourcesRequest> QuickSightRequest.Builder,SdkBuilder<UpdateSpaceResourcesRequest.Builder,,UpdateSpaceResourcesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateSpaceResourcesRequest
@Mutable
@NotThreadSafe
public static interface UpdateSpaceResourcesRequest.Builder
extends QuickSightRequest.Builder, SdkPojo, CopyableBuilder<UpdateSpaceResourcesRequest.Builder,UpdateSpaceResourcesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionaddResources(Collection<SpaceResourceOperation> addResources) A list of resources to add to the space.addResources(Consumer<SpaceResourceOperation.Builder>... addResources) A list of resources to add to the space.addResources(SpaceResourceOperation... addResources) A list of resources to add to the space.awsAccountId(String awsAccountId) The ID of the Amazon Web Services account that contains the space.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.removeResources(Collection<SpaceResourceOperation> removeResources) A list of resources to remove from the space.removeResources(Consumer<SpaceResourceOperation.Builder>... removeResources) A list of resources to remove from the space.removeResources(SpaceResourceOperation... removeResources) A list of resources to remove from the space.The ID of the space that you want to update resources for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account that contains the space.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account that contains the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceId
The ID of the space that you want to update resources for.
- Parameters:
spaceId- The ID of the space that you want to update resources for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
A list of resources to add to the space.
- Parameters:
addResources- A list of resources to add to the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
A list of resources to add to the space.
- Parameters:
addResources- A list of resources to add to the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addResources
UpdateSpaceResourcesRequest.Builder addResources(Consumer<SpaceResourceOperation.Builder>... addResources) A list of resources to add to the space.
This is a convenience method that creates an instance of theSpaceResourceOperation.Builderavoiding the need to create one manually viaSpaceResourceOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddResources(List<SpaceResourceOperation>).- Parameters:
addResources- a consumer that will call methods onSpaceResourceOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
removeResources
UpdateSpaceResourcesRequest.Builder removeResources(Collection<SpaceResourceOperation> removeResources) A list of resources to remove from the space.
- Parameters:
removeResources- A list of resources to remove from the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeResources
A list of resources to remove from the space.
- Parameters:
removeResources- A list of resources to remove from the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
removeResources
UpdateSpaceResourcesRequest.Builder removeResources(Consumer<SpaceResourceOperation.Builder>... removeResources) A list of resources to remove from the space.
This is a convenience method that creates an instance of theSpaceResourceOperation.Builderavoiding the need to create one manually viaSpaceResourceOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremoveResources(List<SpaceResourceOperation>).- Parameters:
removeResources- a consumer that will call methods onSpaceResourceOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateSpaceResourcesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateSpaceResourcesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-