Interface ListCloudWatchAlarmTemplatesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,
,ListCloudWatchAlarmTemplatesResponse> MediaLiveResponse.Builder
,SdkBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,
,ListCloudWatchAlarmTemplatesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCloudWatchAlarmTemplatesResponse
@Mutable
@NotThreadSafe
public static interface ListCloudWatchAlarmTemplatesResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,ListCloudWatchAlarmTemplatesResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchAlarmTemplates
(Collection<CloudWatchAlarmTemplateSummary> cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object.cloudWatchAlarmTemplates
(Consumer<CloudWatchAlarmTemplateSummary.Builder>... cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object.cloudWatchAlarmTemplates
(CloudWatchAlarmTemplateSummary... cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object.A token used to retrieve the next set of results in paginated list responses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cloudWatchAlarmTemplates
ListCloudWatchAlarmTemplatesResponse.Builder cloudWatchAlarmTemplates(Collection<CloudWatchAlarmTemplateSummary> cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object.- Parameters:
cloudWatchAlarmTemplates
- The new value for the CloudWatchAlarmTemplates property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchAlarmTemplates
ListCloudWatchAlarmTemplatesResponse.Builder cloudWatchAlarmTemplates(CloudWatchAlarmTemplateSummary... cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object.- Parameters:
cloudWatchAlarmTemplates
- The new value for the CloudWatchAlarmTemplates property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchAlarmTemplates
ListCloudWatchAlarmTemplatesResponse.Builder cloudWatchAlarmTemplates(Consumer<CloudWatchAlarmTemplateSummary.Builder>... cloudWatchAlarmTemplates) Sets the value of the CloudWatchAlarmTemplates property for this object. This is a convenience method that creates an instance of theCloudWatchAlarmTemplateSummary.Builder
avoiding the need to create one manually viaCloudWatchAlarmTemplateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchAlarmTemplates(List<CloudWatchAlarmTemplateSummary>)
.- Parameters:
cloudWatchAlarmTemplates
- a consumer that will call methods onCloudWatchAlarmTemplateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token used to retrieve the next set of results in paginated list responses.- Parameters:
nextToken
- A token used to retrieve the next set of results in paginated list responses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-