Interface CreatePerformanceMonitorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreatePerformanceMonitorRequest.Builder,,CreatePerformanceMonitorRequest> NetworkFlowMonitorRequest.Builder,SdkBuilder<CreatePerformanceMonitorRequest.Builder,,CreatePerformanceMonitorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreatePerformanceMonitorRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request.monitorName(String monitorName) The name of the performance monitor.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the scope for the performance monitor.The tags for a performance monitor.targets(Collection<PerformanceMonitorTarget> targets) The resources to monitor.targets(Consumer<PerformanceMonitorTarget.Builder>... targets) The resources to monitor.targets(PerformanceMonitorTarget... targets) The resources to monitor.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.networkflowmonitor.model.NetworkFlowMonitorRequest.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
-
monitorName
The name of the performance monitor.
- Parameters:
monitorName- The name of the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeArn
The Amazon Resource Name (ARN) of the scope for the performance monitor.
- Parameters:
scopeArn- The Amazon Resource Name (ARN) of the scope for the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.
- Parameters:
targets- The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.
- Parameters:
targets- The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
CreatePerformanceMonitorRequest.Builder targets(Consumer<PerformanceMonitorTarget.Builder>... targets) The resources to monitor. Each target identifies a resource, currently a VPC, for which you can track network performance. For a VPC, specify the VPC ARN.
This is a convenience method that creates an instance of thePerformanceMonitorTarget.Builderavoiding the need to create one manually viaPerformanceMonitorTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(List<PerformanceMonitorTarget>).- Parameters:
targets- a consumer that will call methods onPerformanceMonitorTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive string of up to 64 ASCII characters that you specify to make an idempotent API request. If the token matches a previous request, the service ignores the request without returning an error. 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. If the token matches a previous request, the service ignores the request without returning an error. 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
The tags for a performance monitor. You can add a maximum of 200 tags.
- Parameters:
tags- The tags for a performance monitor. You can add a maximum of 200 tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreatePerformanceMonitorRequest.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
CreatePerformanceMonitorRequest.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.
-