Interface ListCloudWatchAlarmTemplateGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListCloudWatchAlarmTemplateGroupsResponse.Builder,
,ListCloudWatchAlarmTemplateGroupsResponse> MediaLiveResponse.Builder
,SdkBuilder<ListCloudWatchAlarmTemplateGroupsResponse.Builder,
,ListCloudWatchAlarmTemplateGroupsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListCloudWatchAlarmTemplateGroupsResponse
public static interface ListCloudWatchAlarmTemplateGroupsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListCloudWatchAlarmTemplateGroupsResponse.Builder,ListCloudWatchAlarmTemplateGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncloudWatchAlarmTemplateGroups
(Collection<CloudWatchAlarmTemplateGroupSummary> cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups property for this object.cloudWatchAlarmTemplateGroups
(Consumer<CloudWatchAlarmTemplateGroupSummary.Builder>... cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups property for this object.cloudWatchAlarmTemplateGroups
(CloudWatchAlarmTemplateGroupSummary... cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups 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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
cloudWatchAlarmTemplateGroups
ListCloudWatchAlarmTemplateGroupsResponse.Builder cloudWatchAlarmTemplateGroups(Collection<CloudWatchAlarmTemplateGroupSummary> cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups property for this object.- Parameters:
cloudWatchAlarmTemplateGroups
- The new value for the CloudWatchAlarmTemplateGroups property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchAlarmTemplateGroups
ListCloudWatchAlarmTemplateGroupsResponse.Builder cloudWatchAlarmTemplateGroups(CloudWatchAlarmTemplateGroupSummary... cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups property for this object.- Parameters:
cloudWatchAlarmTemplateGroups
- The new value for the CloudWatchAlarmTemplateGroups property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
cloudWatchAlarmTemplateGroups
ListCloudWatchAlarmTemplateGroupsResponse.Builder cloudWatchAlarmTemplateGroups(Consumer<CloudWatchAlarmTemplateGroupSummary.Builder>... cloudWatchAlarmTemplateGroups) Sets the value of the CloudWatchAlarmTemplateGroups property for this object. This is a convenience method that creates an instance of theCloudWatchAlarmTemplateGroupSummary.Builder
avoiding the need to create one manually viaCloudWatchAlarmTemplateGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocloudWatchAlarmTemplateGroups(List<CloudWatchAlarmTemplateGroupSummary>)
.- Parameters:
cloudWatchAlarmTemplateGroups
- a consumer that will call methods onCloudWatchAlarmTemplateGroupSummary.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.
-