Interface ListClusterAlertsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListClusterAlertsResponse.Builder,,ListClusterAlertsResponse> MediaLiveResponse.Builder,SdkBuilder<ListClusterAlertsResponse.Builder,,ListClusterAlertsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListClusterAlertsResponse
@Mutable
@NotThreadSafe
public static interface ListClusterAlertsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListClusterAlertsResponse.Builder,ListClusterAlertsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalerts(Collection<ClusterAlert> alerts) The alerts found for this clusteralerts(Consumer<ClusterAlert.Builder>... alerts) The alerts found for this cluster This is a convenience method that creates an instance of theClusterAlert.Builderavoiding the need to create one manually viaClusterAlert.builder().alerts(ClusterAlert... alerts) The alerts found for this clusterThe token to use to retrieve the next page of resultsMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
alerts
The alerts found for this cluster- Parameters:
alerts- The alerts found for this cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alerts
The alerts found for this cluster- Parameters:
alerts- The alerts found for this cluster- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alerts
The alerts found for this cluster This is a convenience method that creates an instance of theClusterAlert.Builderavoiding the need to create one manually viaClusterAlert.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalerts(List<ClusterAlert>).- Parameters:
alerts- a consumer that will call methods onClusterAlert.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to retrieve the next page of results- Parameters:
nextToken- The token to use to retrieve the next page of results- Returns:
- Returns a reference to this object so that method calls can be chained together.
-