Interface GetConfigurationSetEventDestinationsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetConfigurationSetEventDestinationsResponse.Builder,
,GetConfigurationSetEventDestinationsResponse> PinpointSmsVoiceResponse.Builder
,SdkBuilder<GetConfigurationSetEventDestinationsResponse.Builder,
,GetConfigurationSetEventDestinationsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetConfigurationSetEventDestinationsResponse
@Mutable
@NotThreadSafe
public static interface GetConfigurationSetEventDestinationsResponse.Builder
extends PinpointSmsVoiceResponse.Builder, SdkPojo, CopyableBuilder<GetConfigurationSetEventDestinationsResponse.Builder,GetConfigurationSetEventDestinationsResponse>
-
Method Summary
Modifier and TypeMethodDescriptioneventDestinations
(Collection<EventDestination> eventDestinations) Sets the value of the EventDestinations property for this object.eventDestinations
(Consumer<EventDestination.Builder>... eventDestinations) Sets the value of the EventDestinations property for this object.eventDestinations
(EventDestination... eventDestinations) Sets the value of the EventDestinations property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoice.model.PinpointSmsVoiceResponse.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
-
eventDestinations
GetConfigurationSetEventDestinationsResponse.Builder eventDestinations(Collection<EventDestination> eventDestinations) Sets the value of the EventDestinations property for this object.- Parameters:
eventDestinations
- The new value for the EventDestinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
GetConfigurationSetEventDestinationsResponse.Builder eventDestinations(EventDestination... eventDestinations) Sets the value of the EventDestinations property for this object.- Parameters:
eventDestinations
- The new value for the EventDestinations property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestinations
GetConfigurationSetEventDestinationsResponse.Builder eventDestinations(Consumer<EventDestination.Builder>... eventDestinations) Sets the value of the EventDestinations property for this object. This is a convenience method that creates an instance of theEventDestination.Builder
avoiding the need to create one manually viaEventDestination.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventDestinations(List<EventDestination>)
.- Parameters:
eventDestinations
- a consumer that will call methods onEventDestination.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-