Interface ListDeviceDefinitionVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeviceDefinitionVersionsResponse.Builder,,ListDeviceDefinitionVersionsResponse> GreengrassResponse.Builder,SdkBuilder<ListDeviceDefinitionVersionsResponse.Builder,,ListDeviceDefinitionVersionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeviceDefinitionVersionsResponse
@Mutable
@NotThreadSafe
public static interface ListDeviceDefinitionVersionsResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceDefinitionVersionsResponse.Builder,ListDeviceDefinitionVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results, or ''null'' if there are no additional results.versions(Collection<VersionInformation> versions) Information about a version.versions(Consumer<VersionInformation.Builder>... versions) Information about a version.versions(VersionInformation... versions) Information about a version.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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
-
nextToken
The token for the next set of results, or ''null'' if there are no additional results.- Parameters:
nextToken- The token for the next set of results, or ''null'' if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
Information about a version.- Parameters:
versions- Information about a version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
Information about a version.- Parameters:
versions- Information about a version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
versions
ListDeviceDefinitionVersionsResponse.Builder versions(Consumer<VersionInformation.Builder>... versions) Information about a version. This is a convenience method that creates an instance of theVersionInformation.Builderavoiding the need to create one manually viaVersionInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toversions(List<VersionInformation>).- Parameters:
versions- a consumer that will call methods onVersionInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-