Interface ListServiceTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListServiceTemplatesResponse.Builder,,ListServiceTemplatesResponse> ProtonResponse.Builder,SdkBuilder<ListServiceTemplatesResponse.Builder,,ListServiceTemplatesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListServiceTemplatesResponse
public static interface ListServiceTemplatesResponse.Builder
extends ProtonResponse.Builder, SdkPojo, CopyableBuilder<ListServiceTemplatesResponse.Builder,ListServiceTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.templates(Collection<ServiceTemplateSummary> templates) An array of service templates with detail data.templates(Consumer<ServiceTemplateSummary.Builder>... templates) An array of service templates with detail data.templates(ServiceTemplateSummary... templates) An array of service templates with detail data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.proton.model.ProtonResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
nextToken
A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.
- Parameters:
nextToken- A token that indicates the location of the next service template in the array of service templates, after the current requested list of service templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
An array of service templates with detail data.
- Parameters:
templates- An array of service templates with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
An array of service templates with detail data.
- Parameters:
templates- An array of service templates with detail data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
templates
ListServiceTemplatesResponse.Builder templates(Consumer<ServiceTemplateSummary.Builder>... templates) An array of service templates with detail data.
This is a convenience method that creates an instance of theServiceTemplateSummary.Builderavoiding the need to create one manually viaServiceTemplateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totemplates(List<ServiceTemplateSummary>).- Parameters:
templates- a consumer that will call methods onServiceTemplateSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-