Interface CreateScopeRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateScopeRequest.Builder,CreateScopeRequest>,NetworkFlowMonitorRequest.Builder,SdkBuilder<CreateScopeRequest.Builder,CreateScopeRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateScopeRequest
public static interface CreateScopeRequest.Builder extends NetworkFlowMonitorRequest.Builder, SdkPojo, CopyableBuilder<CreateScopeRequest.Builder,CreateScopeRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateScopeRequest.BuilderclientToken(String clientToken)A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.CreateScopeRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateScopeRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateScopeRequest.Buildertags(Map<String,String> tags)The tags for a scope.CreateScopeRequest.Buildertargets(Collection<TargetResource> targets)The targets to define the scope to be monitored.CreateScopeRequest.Buildertargets(Consumer<TargetResource.Builder>... targets)The targets to define the scope to be monitored.CreateScopeRequest.Buildertargets(TargetResource... targets)The targets to define the scope to be monitored.-
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
-
targets
CreateScopeRequest.Builder targets(Collection<TargetResource> targets)
The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.
- Parameters:
targets- The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
CreateScopeRequest.Builder targets(TargetResource... targets)
The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.
- Parameters:
targets- The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
CreateScopeRequest.Builder targets(Consumer<TargetResource.Builder>... targets)
The targets to define the scope to be monitored. Currently, a target is an Amazon Web Services account.
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#targets(List.) - Parameters:
targets- 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:
#targets(java.util.Collection)
-
clientToken
CreateScopeRequest.Builder clientToken(String clientToken)
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.
- Parameters:
clientToken- A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. Don't reuse the same client token for other API requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateScopeRequest.Builder tags(Map<String,String> tags)
The tags for a scope. You can add a maximum of 200 tags.
- Parameters:
tags- The tags for a scope. You can add a maximum of 200 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateScopeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateScopeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-