Interface DescribeApplicationStatusResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeApplicationStatusResponse.Builder,,DescribeApplicationStatusResponse> Ec2Response.Builder,SdkBuilder<DescribeApplicationStatusResponse.Builder,,DescribeApplicationStatusResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeApplicationStatusResponse
@Mutable
@NotThreadSafe
public static interface DescribeApplicationStatusResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DescribeApplicationStatusResponse.Builder,DescribeApplicationStatusResponse>
-
Method Summary
Modifier and TypeMethodDescriptionapplicationStatuses(Consumer<ApplicationStatusesResponseType.Builder> applicationStatuses) The application statuses for the specified instances.applicationStatuses(ApplicationStatusesResponseType applicationStatuses) The application statuses for the specified instances.The token to include in another request to get the next page of items.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationStatuses
DescribeApplicationStatusResponse.Builder applicationStatuses(ApplicationStatusesResponseType applicationStatuses) The application statuses for the specified instances.
- Parameters:
applicationStatuses- The application statuses for the specified instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationStatuses
default DescribeApplicationStatusResponse.Builder applicationStatuses(Consumer<ApplicationStatusesResponseType.Builder> applicationStatuses) The application statuses for the specified instances.
This is a convenience method that creates an instance of theApplicationStatusesResponseType.Builderavoiding the need to create one manually viaApplicationStatusesResponseType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapplicationStatuses(ApplicationStatusesResponseType).- Parameters:
applicationStatuses- a consumer that will call methods onApplicationStatusesResponseType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.
- Parameters:
nextToken- The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-