Interface ListOnPremisesInstancesRequest.Builder

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

public static interface ListOnPremisesInstancesRequest.Builder extends CodeDeployRequest.Builder, SdkPojo, CopyableBuilder<ListOnPremisesInstancesRequest.Builder,ListOnPremisesInstancesRequest>
  • Method Details

    • registrationStatus

      ListOnPremisesInstancesRequest.Builder registrationStatus(String registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.

      • Registered: Include registered on-premises instances in the resulting list.

      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.

      • Registered: Include registered on-premises instances in the resulting list.

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

      ListOnPremisesInstancesRequest.Builder registrationStatus(RegistrationStatus registrationStatus)

      The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.

      • Registered: Include registered on-premises instances in the resulting list.

      Parameters:
      registrationStatus - The registration status of the on-premises instances:

      • Deregistered: Include deregistered on-premises instances in the resulting list.

      • Registered: Include registered on-premises instances in the resulting list.

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

      The on-premises instance tags that are used to restrict the on-premises instance names returned.

      Parameters:
      tagFilters - The on-premises instance tags that are used to restrict the on-premises instance names returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      The on-premises instance tags that are used to restrict the on-premises instance names returned.

      Parameters:
      tagFilters - The on-premises instance tags that are used to restrict the on-premises instance names returned.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagFilters

      The on-premises instance tags that are used to restrict the on-premises instance names returned.

      This is a convenience method that creates an instance of the TagFilter.Builder avoiding the need to create one manually via TagFilter.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagFilters(List<TagFilter>).

      Parameters:
      tagFilters - a consumer that will call methods on TagFilter.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • nextToken

      An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.

      Parameters:
      nextToken - An identifier returned from the previous list on-premises instances call. It can be used to return the next set of on-premises instances in the list.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

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