Interface GetKeyPairsRequest.Builder

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

public static interface GetKeyPairsRequest.Builder extends LightsailRequest.Builder, SdkPojo, CopyableBuilder<GetKeyPairsRequest.Builder,GetKeyPairsRequest>
  • Method Details

    • pageToken

      GetKeyPairsRequest.Builder pageToken(String pageToken)

      The token to advance to the next page of results from your request.

      To get a page token, perform an initial GetKeyPairs request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

      Parameters:
      pageToken - The token to advance to the next page of results from your request.

      To get a page token, perform an initial GetKeyPairs request. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.

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

      GetKeyPairsRequest.Builder includeDefaultKeyPair(Boolean includeDefaultKeyPair)

      A Boolean value that indicates whether to include the default key pair in the response of your request.

      Parameters:
      includeDefaultKeyPair - A Boolean value that indicates whether to include the default key pair in the response of your request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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