Interface ListDeviceResourcesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeviceResourcesResponse.Builder,,ListDeviceResourcesResponse> SdkBuilder<ListDeviceResourcesResponse.Builder,,ListDeviceResourcesResponse> SdkPojo,SdkResponse.Builder,SnowDeviceManagementResponse.Builder
- Enclosing class:
ListDeviceResourcesResponse
public static interface ListDeviceResourcesResponse.Builder
extends SnowDeviceManagementResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceResourcesResponse.Builder,ListDeviceResourcesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to continue to the next page of results.resources(Collection<ResourceSummary> resources) A structure defining the resource's type, Amazon Resource Name (ARN), and ID.resources(Consumer<ResourceSummary.Builder>... resources) A structure defining the resource's type, Amazon Resource Name (ARN), and ID.resources(ResourceSummary... resources) A structure defining the resource's type, Amazon Resource Name (ARN), and ID.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
nextToken
A pagination token to continue to the next page of results.
- Parameters:
nextToken- A pagination token to continue to the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A structure defining the resource's type, Amazon Resource Name (ARN), and ID.
- Parameters:
resources- A structure defining the resource's type, Amazon Resource Name (ARN), and ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A structure defining the resource's type, Amazon Resource Name (ARN), and ID.
- Parameters:
resources- A structure defining the resource's type, Amazon Resource Name (ARN), and ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
A structure defining the resource's type, Amazon Resource Name (ARN), and ID.
This is a convenience method that creates an instance of theResourceSummary.Builderavoiding the need to create one manually viaResourceSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresources(List<ResourceSummary>).- Parameters:
resources- a consumer that will call methods onResourceSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-