Interface UpdateResourceCollectionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResourceCollectionRequest.Builder,,UpdateResourceCollectionRequest> DevOpsGuruRequest.Builder,SdkBuilder<UpdateResourceCollectionRequest.Builder,,UpdateResourceCollectionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateResourceCollectionRequest
public static interface UpdateResourceCollectionRequest.Builder
extends DevOpsGuruRequest.Builder, SdkPojo, CopyableBuilder<UpdateResourceCollectionRequest.Builder,UpdateResourceCollectionRequest>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies if the resource collection in the request is added or deleted to the resource collection.action(UpdateResourceCollectionAction action) Specifies if the resource collection in the request is added or deleted to the resource collection.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourceCollection(Consumer<UpdateResourceCollectionFilter.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object.resourceCollection(UpdateResourceCollectionFilter resourceCollection) Sets the value of the ResourceCollection property for this object.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.devopsguru.model.DevOpsGuruRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
Specifies if the resource collection in the request is added or deleted to the resource collection.
- Parameters:
action- Specifies if the resource collection in the request is added or deleted to the resource collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies if the resource collection in the request is added or deleted to the resource collection.
- Parameters:
action- Specifies if the resource collection in the request is added or deleted to the resource collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourceCollection
UpdateResourceCollectionRequest.Builder resourceCollection(UpdateResourceCollectionFilter resourceCollection) Sets the value of the ResourceCollection property for this object.- Parameters:
resourceCollection- The new value for the ResourceCollection property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceCollection
default UpdateResourceCollectionRequest.Builder resourceCollection(Consumer<UpdateResourceCollectionFilter.Builder> resourceCollection) Sets the value of the ResourceCollection property for this object. This is a convenience method that creates an instance of theUpdateResourceCollectionFilter.Builderavoiding the need to create one manually viaUpdateResourceCollectionFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceCollection(UpdateResourceCollectionFilter).- Parameters:
resourceCollection- a consumer that will call methods onUpdateResourceCollectionFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateResourceCollectionRequest.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
UpdateResourceCollectionRequest.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.
-