Interface GetCanaryRunsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetCanaryRunsRequest.Builder,
,GetCanaryRunsRequest> SdkBuilder<GetCanaryRunsRequest.Builder,
,GetCanaryRunsRequest> SdkPojo
,SdkRequest.Builder
,SyntheticsRequest.Builder
- Enclosing class:
GetCanaryRunsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe DryRunId associated with an existing canary’s dry run.maxResults
(Integer maxResults) Specify this parameter to limit how many runs are returned each time you use theGetCanaryRuns
operation.The name of the canary that you want to see runs for.A token that indicates that there is more data available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.services.synthetics.model.SyntheticsRequest.Builder
build
-
Method Details
-
name
The name of the canary that you want to see runs for.
- Parameters:
name
- The name of the canary that you want to see runs for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
A token that indicates that there is more data available. You can use this token in a subsequent
GetCanaryRuns
operation to retrieve the next set of results.When auto retry is enabled for the canary, the first subsequent retry is suffixed with *1 indicating its the first retry and the next subsequent try is suffixed with *2.
- Parameters:
nextToken
- A token that indicates that there is more data available. You can use this token in a subsequentGetCanaryRuns
operation to retrieve the next set of results.When auto retry is enabled for the canary, the first subsequent retry is suffixed with *1 indicating its the first retry and the next subsequent try is suffixed with *2.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxResults
Specify this parameter to limit how many runs are returned each time you use the
GetCanaryRuns
operation. If you omit this parameter, the default of 100 is used.- Parameters:
maxResults
- Specify this parameter to limit how many runs are returned each time you use theGetCanaryRuns
operation. If you omit this parameter, the default of 100 is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dryRunId
The DryRunId associated with an existing canary’s dry run. You can use this DryRunId to retrieve information about the dry run.
- Parameters:
dryRunId
- The DryRunId associated with an existing canary’s dry run. You can use this DryRunId to retrieve information about the dry run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runType
-
When you provide
RunType=CANARY_RUN
anddryRunId
, you will get an exception -
When a value is not provided for
RunType
, the default value isCANARY_RUN
-
When
CANARY_RUN
is provided, all canary runs excluding dry runs are returned -
When
DRY_RUN
is provided, all dry runs excluding canary runs are returned
- Parameters:
runType
-When you provide
RunType=CANARY_RUN
anddryRunId
, you will get an exceptionWhen a value is not provided for
RunType
, the default value isCANARY_RUN
When
CANARY_RUN
is provided, all canary runs excluding dry runs are returnedWhen
DRY_RUN
is provided, all dry runs excluding canary runs are returned- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
runType
-
When you provide
RunType=CANARY_RUN
anddryRunId
, you will get an exception -
When a value is not provided for
RunType
, the default value isCANARY_RUN
-
When
CANARY_RUN
is provided, all canary runs excluding dry runs are returned -
When
DRY_RUN
is provided, all dry runs excluding canary runs are returned
- Parameters:
runType
-When you provide
RunType=CANARY_RUN
anddryRunId
, you will get an exceptionWhen a value is not provided for
RunType
, the default value isCANARY_RUN
When
CANARY_RUN
is provided, all canary runs excluding dry runs are returnedWhen
DRY_RUN
is provided, all dry runs excluding canary runs are returned- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
GetCanaryRunsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetCanaryRunsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-