Interface ListAlertsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListAlertsResponse.Builder,ListAlertsResponse>,MediaTailorResponse.Builder,SdkBuilder<ListAlertsResponse.Builder,ListAlertsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListAlertsResponse
public static interface ListAlertsResponse.Builder extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListAlertsResponse.Builder,ListAlertsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAlertsResponse.Builderitems(Collection<Alert> items)A list of alerts that are associated with this resource.ListAlertsResponse.Builderitems(Consumer<Alert.Builder>... items)A list of alerts that are associated with this resource.ListAlertsResponse.Builderitems(Alert... items)A list of alerts that are associated with this resource.ListAlertsResponse.BuildernextToken(String nextToken)Pagination token returned by the list request when results exceed the maximum allowed.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.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
-
items
ListAlertsResponse.Builder items(Collection<Alert> items)
A list of alerts that are associated with this resource.
- Parameters:
items- A list of alerts that are associated with this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAlertsResponse.Builder items(Alert... items)
A list of alerts that are associated with this resource.
- Parameters:
items- A list of alerts that are associated with this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
ListAlertsResponse.Builder items(Consumer<Alert.Builder>... items)
A list of alerts that are associated with this resource.
This is a convenience method that creates an instance of theAlert.Builderavoiding the need to create one manually viaAlert.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onAlert.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
nextToken
ListAlertsResponse.Builder nextToken(String nextToken)
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
- Parameters:
nextToken- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-