Interface UpdatePerformanceMonitorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdatePerformanceMonitorRequest.Builder,,UpdatePerformanceMonitorRequest> NetworkFlowMonitorRequest.Builder,SdkBuilder<UpdatePerformanceMonitorRequest.Builder,,UpdatePerformanceMonitorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdatePerformanceMonitorRequest
-
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.targetsToAdd(Collection<PerformanceMonitorTarget> targetsToAdd) The resources to add to the performance monitor.targetsToAdd(Consumer<PerformanceMonitorTarget.Builder>... targetsToAdd) The resources to add to the performance monitor.targetsToAdd(PerformanceMonitorTarget... targetsToAdd) The resources to add to the performance monitor.targetsToRemove(Collection<PerformanceMonitorTarget> targetsToRemove) The resources to remove from the performance monitor.targetsToRemove(Consumer<PerformanceMonitorTarget.Builder>... targetsToRemove) The resources to remove from the performance monitor.targetsToRemove(PerformanceMonitorTarget... targetsToRemove) The resources to remove from the performance 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.
-
targetsToAdd
UpdatePerformanceMonitorRequest.Builder targetsToAdd(Collection<PerformanceMonitorTarget> targetsToAdd) The resources to add to the performance monitor.
- Parameters:
targetsToAdd- The resources to add to the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetsToAdd
The resources to add to the performance monitor.
- Parameters:
targetsToAdd- The resources to add to the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetsToAdd
UpdatePerformanceMonitorRequest.Builder targetsToAdd(Consumer<PerformanceMonitorTarget.Builder>... targetsToAdd) The resources to add to the performance monitor.
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 totargetsToAdd(List<PerformanceMonitorTarget>).- Parameters:
targetsToAdd- 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:
-
targetsToRemove
UpdatePerformanceMonitorRequest.Builder targetsToRemove(Collection<PerformanceMonitorTarget> targetsToRemove) The resources to remove from the performance monitor.
- Parameters:
targetsToRemove- The resources to remove from the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetsToRemove
UpdatePerformanceMonitorRequest.Builder targetsToRemove(PerformanceMonitorTarget... targetsToRemove) The resources to remove from the performance monitor.
- Parameters:
targetsToRemove- The resources to remove from the performance monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetsToRemove
UpdatePerformanceMonitorRequest.Builder targetsToRemove(Consumer<PerformanceMonitorTarget.Builder>... targetsToRemove) The resources to remove from the performance monitor.
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 totargetsToRemove(List<PerformanceMonitorTarget>).- Parameters:
targetsToRemove- 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.
-
overrideConfiguration
UpdatePerformanceMonitorRequest.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
UpdatePerformanceMonitorRequest.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.
-