Interface ListDeviceDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListDeviceDefinitionsResponse.Builder,,ListDeviceDefinitionsResponse> GreengrassResponse.Builder,SdkBuilder<ListDeviceDefinitionsResponse.Builder,,ListDeviceDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListDeviceDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListDeviceDefinitionsResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<ListDeviceDefinitionsResponse.Builder,ListDeviceDefinitionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefinitions(Collection<DefinitionInformation> definitions) Information about a definition.definitions(Consumer<DefinitionInformation.Builder>... definitions) Information about a definition.definitions(DefinitionInformation... definitions) Information about a definition.The token for the next set of results, or ''null'' if there are no additional results.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
-
definitions
Information about a definition.- Parameters:
definitions- Information about a definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitions
Information about a definition.- Parameters:
definitions- Information about a definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definitions
ListDeviceDefinitionsResponse.Builder definitions(Consumer<DefinitionInformation.Builder>... definitions) Information about a definition. This is a convenience method that creates an instance of theDefinitionInformation.Builderavoiding the need to create one manually viaDefinitionInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinitions(List<DefinitionInformation>).- Parameters:
definitions- a consumer that will call methods onDefinitionInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-