Interface ListNetworksRequest.Builder

  • Method Details

    • maxResults

      ListNetworksRequest.Builder maxResults(Integer maxResults)

      The maximum number of networks to return in a single page. Valid range is 1-100. Default is 10.

      Parameters:
      maxResults - The maximum number of networks to return in a single page. Valid range is 1-100. Default is 10.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortFields

      ListNetworksRequest.Builder sortFields(String sortFields)

      The field to sort networks by. Accepted values are 'networkId' and 'networkName'. Default is 'networkId'.

      Parameters:
      sortFields - The field to sort networks by. Accepted values are 'networkId' and 'networkName'. Default is 'networkId'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sortDirection

      ListNetworksRequest.Builder sortDirection(String sortDirection)

      The direction to sort results. Valid values are 'ASC' (ascending) or 'DESC' (descending). Default is 'DESC'.

      Parameters:
      sortDirection - The direction to sort results. Valid values are 'ASC' (ascending) or 'DESC' (descending). Default is 'DESC'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sortDirection

      ListNetworksRequest.Builder sortDirection(SortDirection sortDirection)

      The direction to sort results. Valid values are 'ASC' (ascending) or 'DESC' (descending). Default is 'DESC'.

      Parameters:
      sortDirection - The direction to sort results. Valid values are 'ASC' (ascending) or 'DESC' (descending). Default is 'DESC'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      ListNetworksRequest.Builder nextToken(String nextToken)

      The token for retrieving the next page of results. This is returned from a previous request when there are more results available.

      Parameters:
      nextToken - The token for retrieving the next page of results. This is returned from a previous request when there are more results available.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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