Interface GetAwsNetworkPerformanceDataRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetAwsNetworkPerformanceDataRequest.Builder,GetAwsNetworkPerformanceDataRequest>
,Ec2Request.Builder
,SdkBuilder<GetAwsNetworkPerformanceDataRequest.Builder,GetAwsNetworkPerformanceDataRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- GetAwsNetworkPerformanceDataRequest
public static interface GetAwsNetworkPerformanceDataRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<GetAwsNetworkPerformanceDataRequest.Builder,GetAwsNetworkPerformanceDataRequest>
-
-
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.ec2.model.Ec2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
dataQueries
GetAwsNetworkPerformanceDataRequest.Builder dataQueries(Collection<DataQuery> 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
GetAwsNetworkPerformanceDataRequest.Builder dataQueries(DataQuery... 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
GetAwsNetworkPerformanceDataRequest.Builder dataQueries(Consumer<DataQuery.Builder>... dataQueries)
A list of network performance data queries.
This is a convenience method that creates an instance of theDataQuery.Builder
avoiding the need to create one manually viaDataQuery.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dataQueries(List
.) - 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:
#dataQueries(java.util.Collection
)
-
startTime
GetAwsNetworkPerformanceDataRequest.Builder startTime(Instant 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
GetAwsNetworkPerformanceDataRequest.Builder endTime(Instant 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
GetAwsNetworkPerformanceDataRequest.Builder maxResults(Integer maxResults)
The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned
nextToken
value.- Parameters:
maxResults
- The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returnednextToken
value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
GetAwsNetworkPerformanceDataRequest.Builder nextToken(String 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
GetAwsNetworkPerformanceDataRequest.Builder dryRun(Boolean 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetAwsNetworkPerformanceDataRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-