Interface DescribeCanariesLastRunRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<DescribeCanariesLastRunRequest.Builder,DescribeCanariesLastRunRequest>, SdkBuilder<DescribeCanariesLastRunRequest.Builder,DescribeCanariesLastRunRequest>, SdkPojo, SdkRequest.Builder, SyntheticsRequest.Builder
Enclosing class:
DescribeCanariesLastRunRequest

public static interface DescribeCanariesLastRunRequest.Builder extends SyntheticsRequest.Builder, SdkPojo, CopyableBuilder<DescribeCanariesLastRunRequest.Builder,DescribeCanariesLastRunRequest>
  • Method Details

    • nextToken

      A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun operation to retrieve the next set of results.

      Parameters:
      nextToken - A token that indicates that there is more data available. You can use this token in a subsequent DescribeCanariesLastRun operation to retrieve the next set of results.
      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 DescribeLastRun 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 the DescribeLastRun 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.
    • names

      Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.

      If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

      You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

      Parameters:
      names - Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.

      If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

      You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • names

      Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.

      If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

      You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

      Parameters:
      names - Use this parameter to return only canaries that match the names that you specify here. You can specify as many as five canary names.

      If you specify this parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.

      You are required to use the Names parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      DescribeCanariesLastRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.