Interface ListCloudWatchAlarmTemplatesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,ListCloudWatchAlarmTemplatesResponse>,MediaLiveResponse.Builder,SdkBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,ListCloudWatchAlarmTemplatesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListCloudWatchAlarmTemplatesResponse
public static interface ListCloudWatchAlarmTemplatesResponse.Builder extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListCloudWatchAlarmTemplatesResponse.Builder,ListCloudWatchAlarmTemplatesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListCloudWatchAlarmTemplatesResponse.BuildercloudWatchAlarmTemplates(Collection<CloudWatchAlarmTemplateSummary> cloudWatchAlarmTemplates)Sets the value of the CloudWatchAlarmTemplates property for this object.ListCloudWatchAlarmTemplatesResponse.BuildercloudWatchAlarmTemplates(Consumer<CloudWatchAlarmTemplateSummary.Builder>... cloudWatchAlarmTemplates)Sets the value of the CloudWatchAlarmTemplates property for this object.ListCloudWatchAlarmTemplatesResponse.BuildercloudWatchAlarmTemplates(CloudWatchAlarmTemplateSummary... cloudWatchAlarmTemplates)Sets the value of the CloudWatchAlarmTemplates property for this object.ListCloudWatchAlarmTemplatesResponse.BuildernextToken(String nextToken)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 Detail
-
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.Builderavoiding the need to create one manually viaCloudWatchAlarmTemplateSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#cloudWatchAlarmTemplates(List.) - 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:
#cloudWatchAlarmTemplates(java.util.Collection)
-
nextToken
ListCloudWatchAlarmTemplatesResponse.Builder nextToken(String 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.
-
-