Interface ListServicesRequest.Builder

  • Method Details

    • startTime

      ListServicesRequest.Builder startTime(Instant startTime)

      The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Your requested start time will be rounded to the nearest hour.

      Parameters:
      startTime - The start of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Your requested start time will be rounded to the nearest hour.

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

      The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Your requested start time will be rounded to the nearest hour.

      Parameters:
      endTime - The end of the time period to retrieve information about. When used in a raw HTTP Query API, it is formatted as be epoch time in seconds. For example: 1698778057

      Your requested start time will be rounded to the nearest hour.

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

      ListServicesRequest.Builder maxResults(Integer maxResults)

      The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.

      Parameters:
      maxResults - The maximum number of results to return in one operation. If you omit this parameter, the default of 50 is used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nextToken

      ListServicesRequest.Builder nextToken(String nextToken)

      Include this value, if it was returned by the previous operation, to get the next set of services.

      Parameters:
      nextToken - Include this value, if it was returned by the previous operation, to get the next set of services.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • includeLinkedAccounts

      ListServicesRequest.Builder includeLinkedAccounts(Boolean includeLinkedAccounts)

      If you are using this operation in a monitoring account, specify true to include services from source accounts in the returned data.

        </p> 
       
      Parameters:
      includeLinkedAccounts - If you are using this operation in a monitoring account, specify true to include services from source accounts in the returned data.
       
               </p>  @return Returns a reference to this object so that method calls can be
              chained together.
    • awsAccountId

      ListServicesRequest.Builder awsAccountId(String awsAccountId)

      Amazon Web Services Account ID.

      Parameters:
      awsAccountId - Amazon Web Services Account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      ListServicesRequest.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.