Interface ModifyHostsResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<ModifyHostsResponse.Builder,ModifyHostsResponse>, Ec2Response.Builder, SdkBuilder<ModifyHostsResponse.Builder,ModifyHostsResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ModifyHostsResponse

public static interface ModifyHostsResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<ModifyHostsResponse.Builder,ModifyHostsResponse>
  • Method Details

    • successful

      The IDs of the Dedicated Hosts that were successfully modified.

      Parameters:
      successful - The IDs of the Dedicated Hosts that were successfully modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • successful

      ModifyHostsResponse.Builder successful(String... successful)

      The IDs of the Dedicated Hosts that were successfully modified.

      Parameters:
      successful - The IDs of the Dedicated Hosts that were successfully modified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsuccessful

      The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.

      Parameters:
      unsuccessful - The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsuccessful

      ModifyHostsResponse.Builder unsuccessful(UnsuccessfulItem... unsuccessful)

      The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.

      Parameters:
      unsuccessful - The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • unsuccessful

      The IDs of the Dedicated Hosts that could not be modified. Check whether the setting you requested can be used.

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

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

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