Interface UpdateScopeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateScopeRequest.Builder,
,UpdateScopeRequest> NetworkFlowMonitorRequest.Builder
,SdkBuilder<UpdateScopeRequest.Builder,
,UpdateScopeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateScopeRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.resourcesToAdd
(Collection<TargetResource> resourcesToAdd) A list of resources to add to a scope.resourcesToAdd
(Consumer<TargetResource.Builder>... resourcesToAdd) A list of resources to add to a scope.resourcesToAdd
(TargetResource... resourcesToAdd) A list of resources to add to a scope.resourcesToDelete
(Collection<TargetResource> resourcesToDelete) A list of resources to delete from a scope.resourcesToDelete
(Consumer<TargetResource.Builder>... resourcesToDelete) A list of resources to delete from a scope.resourcesToDelete
(TargetResource... resourcesToDelete) A list of resources to delete from a scope.The identifier for the scope that includes the resources you want to get data results for.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
scopeId
The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.
- Parameters:
scopeId
- The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesToAdd
A list of resources to add to a scope.
- Parameters:
resourcesToAdd
- A list of resources to add to a scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesToAdd
A list of resources to add to a scope.
- Parameters:
resourcesToAdd
- A list of resources to add to a scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesToAdd
A list of resources to add to a scope.
This is a convenience method that creates an instance of theTargetResource.Builder
avoiding the need to create one manually viaTargetResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesToAdd(List<TargetResource>)
.- Parameters:
resourcesToAdd
- a consumer that will call methods onTargetResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resourcesToDelete
A list of resources to delete from a scope.
- Parameters:
resourcesToDelete
- A list of resources to delete from a scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesToDelete
A list of resources to delete from a scope.
- Parameters:
resourcesToDelete
- A list of resources to delete from a scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesToDelete
A list of resources to delete from a scope.
This is a convenience method that creates an instance of theTargetResource.Builder
avoiding the need to create one manually viaTargetResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesToDelete(List<TargetResource>)
.- Parameters:
resourcesToDelete
- a consumer that will call methods onTargetResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateScopeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateScopeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-