Interface ListSubscriptionDefinitionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListSubscriptionDefinitionsResponse.Builder,,ListSubscriptionDefinitionsResponse> GreengrassResponse.Builder,SdkBuilder<ListSubscriptionDefinitionsResponse.Builder,,ListSubscriptionDefinitionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListSubscriptionDefinitionsResponse
@Mutable
@NotThreadSafe
public static interface ListSubscriptionDefinitionsResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<ListSubscriptionDefinitionsResponse.Builder,ListSubscriptionDefinitionsResponse>
-
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
ListSubscriptionDefinitionsResponse.Builder definitions(Collection<DefinitionInformation> 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
ListSubscriptionDefinitionsResponse.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.
-