Interface ListCoreDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCoreDefinitionsResponse.Builder,
,ListCoreDefinitionsResponse> GreengrassResponse.Builder
,SdkBuilder<ListCoreDefinitionsResponse.Builder,
,ListCoreDefinitionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCoreDefinitionsResponse
public static interface ListCoreDefinitionsResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<ListCoreDefinitionsResponse.Builder,ListCoreDefinitionsResponse>
-
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
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods 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
ListCoreDefinitionsResponse.Builder definitions(Consumer<DefinitionInformation.Builder>... definitions) Information about a definition. This is a convenience method that creates an instance of theDefinitionInformation.Builder
avoiding the need to create one manually viaDefinitionInformation.builder()
.When the
Consumer
completes,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.
-