Interface DescribeGatewayResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeGatewayResourcesResponse.Builder,,DescribeGatewayResourcesResponse> EcsResponse.Builder,SdkBuilder<DescribeGatewayResourcesResponse.Builder,,DescribeGatewayResourcesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeGatewayResourcesResponse
@Mutable
@NotThreadSafe
public static interface DescribeGatewayResourcesResponse.Builder
extends EcsResponse.Builder, SdkPojo, CopyableBuilder<DescribeGatewayResourcesResponse.Builder,DescribeGatewayResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongatewayResources(Consumer<GatewayResources.Builder> gatewayResources) The infrastructure resources that the gateway manages, grouped by gateway type.gatewayResources(GatewayResources gatewayResources) The infrastructure resources that the gateway manages, grouped by gateway type.ThenextTokenvalue to include in a future request to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ecs.model.EcsResponse.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
-
gatewayResources
The infrastructure resources that the gateway manages, grouped by gateway type.
- Parameters:
gatewayResources- The infrastructure resources that the gateway manages, grouped by gateway type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayResources
default DescribeGatewayResourcesResponse.Builder gatewayResources(Consumer<GatewayResources.Builder> gatewayResources) The infrastructure resources that the gateway manages, grouped by gateway type.
This is a convenience method that creates an instance of theGatewayResources.Builderavoiding the need to create one manually viaGatewayResources.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togatewayResources(GatewayResources).- Parameters:
gatewayResources- a consumer that will call methods onGatewayResources.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextTokenvalue to include in a future request to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a future request to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-