Interface UpdateScopeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateScopeRequest.Builder,UpdateScopeRequest>,NetworkFlowMonitorRequest.Builder,SdkBuilder<UpdateScopeRequest.Builder,UpdateScopeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateScopeRequest
public static interface UpdateScopeRequest.Builder extends NetworkFlowMonitorRequest.Builder, SdkPojo, CopyableBuilder<UpdateScopeRequest.Builder,UpdateScopeRequest>
-
-
Method Summary
-
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 Detail
-
scopeId
UpdateScopeRequest.Builder scopeId(String 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
UpdateScopeRequest.Builder resourcesToAdd(Collection<TargetResource> 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
UpdateScopeRequest.Builder resourcesToAdd(TargetResource... 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
UpdateScopeRequest.Builder resourcesToAdd(Consumer<TargetResource.Builder>... resourcesToAdd)
A list of resources to add to a scope.
This is a convenience method that creates an instance of theTargetResource.Builderavoiding the need to create one manually viaTargetResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourcesToAdd(List.) - 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:
#resourcesToAdd(java.util.Collection)
-
resourcesToDelete
UpdateScopeRequest.Builder resourcesToDelete(Collection<TargetResource> 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
UpdateScopeRequest.Builder resourcesToDelete(TargetResource... 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
UpdateScopeRequest.Builder resourcesToDelete(Consumer<TargetResource.Builder>... resourcesToDelete)
A list of resources to delete from a scope.
This is a convenience method that creates an instance of theTargetResource.Builderavoiding the need to create one manually viaTargetResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourcesToDelete(List.) - 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:
#resourcesToDelete(java.util.Collection)
-
overrideConfiguration
UpdateScopeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateScopeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-