Interface GetAwsNetworkPerformanceDataRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetAwsNetworkPerformanceDataRequest.Builder,,GetAwsNetworkPerformanceDataRequest> Ec2Request.Builder,SdkBuilder<GetAwsNetworkPerformanceDataRequest.Builder,,GetAwsNetworkPerformanceDataRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
GetAwsNetworkPerformanceDataRequest
-
Method Summary
Modifier and TypeMethodDescriptiondataQueries(Collection<DataQuery> dataQueries) A list of network performance data queries.dataQueries(Consumer<DataQuery.Builder>... dataQueries) A list of network performance data queries.dataQueries(DataQuery... dataQueries) A list of network performance data queries.Checks whether you have the required permissions for the action, without actually making the request, and provides an error response.The ending time for the performance data request.maxResults(Integer maxResults) The maximum number of results to return with a single call.The token for the next page of results.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The starting time for the performance data request.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.ec2.model.Ec2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
dataQueries
A list of network performance data queries.
- Parameters:
dataQueries- A list of network performance data queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataQueries
A list of network performance data queries.
- Parameters:
dataQueries- A list of network performance data queries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataQueries
A list of network performance data queries.
This is a convenience method that creates an instance of theDataQuery.Builderavoiding the need to create one manually viaDataQuery.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataQueries(List<DataQuery>).- Parameters:
dataQueries- a consumer that will call methods onDataQuery.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The starting time for the performance data request. The starting time must be formatted as
yyyy-mm-ddThh:mm:ss. For example,2022-06-10T12:00:00.000Z.- Parameters:
startTime- The starting time for the performance data request. The starting time must be formatted asyyyy-mm-ddThh:mm:ss. For example,2022-06-10T12:00:00.000Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The ending time for the performance data request. The end time must be formatted as
yyyy-mm-ddThh:mm:ss. For example,2022-06-12T12:00:00.000Z.- Parameters:
endTime- The ending time for the performance data request. The end time must be formatted asyyyy-mm-ddThh:mm:ss. For example,2022-06-12T12:00:00.000Z.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextTokenvalue.- Parameters:
maxResults- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextTokenvalue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token for the next page of results.
- Parameters:
nextToken- The token for the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRun
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it isUnauthorizedOperation.- Parameters:
dryRun- Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response isDryRunOperation. Otherwise, it isUnauthorizedOperation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetAwsNetworkPerformanceDataRequest.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
GetAwsNetworkPerformanceDataRequest.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.
-