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 theGetCanaryRunsoperation.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
GetCanaryRunsoperation 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 subsequentGetCanaryRunsoperation 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
GetCanaryRunsoperation. 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 theGetCanaryRunsoperation. 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_RUNanddryRunId, you will get an exception -
When a value is not provided for
RunType, the default value isCANARY_RUN -
When
CANARY_RUNis provided, all canary runs excluding dry runs are returned -
When
DRY_RUNis provided, all dry runs excluding canary runs are returned
- Parameters:
runType-When you provide
RunType=CANARY_RUNanddryRunId, you will get an exceptionWhen a value is not provided for
RunType, the default value isCANARY_RUNWhen
CANARY_RUNis provided, all canary runs excluding dry runs are returnedWhen
DRY_RUNis 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_RUNanddryRunId, you will get an exception -
When a value is not provided for
RunType, the default value isCANARY_RUN -
When
CANARY_RUNis provided, all canary runs excluding dry runs are returned -
When
DRY_RUNis provided, all dry runs excluding canary runs are returned
- Parameters:
runType-When you provide
RunType=CANARY_RUNanddryRunId, you will get an exceptionWhen a value is not provided for
RunType, the default value isCANARY_RUNWhen
CANARY_RUNis provided, all canary runs excluding dry runs are returnedWhen
DRY_RUNis 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-