Interface CreateEventDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateEventDestinationResponse.Builder,
,CreateEventDestinationResponse> PinpointSmsVoiceV2Response.Builder
,SdkBuilder<CreateEventDestinationResponse.Builder,
,CreateEventDestinationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateEventDestinationResponse
@Mutable
@NotThreadSafe
public static interface CreateEventDestinationResponse.Builder
extends PinpointSmsVoiceV2Response.Builder, SdkPojo, CopyableBuilder<CreateEventDestinationResponse.Builder,CreateEventDestinationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationSetArn
(String configurationSetArn) The ARN of the configuration set.configurationSetName
(String configurationSetName) The name of the configuration set.eventDestination
(Consumer<EventDestination.Builder> eventDestination) The details of the destination where events are logged.eventDestination
(EventDestination eventDestination) The details of the destination where events are logged.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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
-
configurationSetArn
The ARN of the configuration set.
- Parameters:
configurationSetArn
- The ARN of the configuration set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationSetName
The name of the configuration set.
- Parameters:
configurationSetName
- The name of the configuration set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
The details of the destination where events are logged.
- Parameters:
eventDestination
- The details of the destination where events are logged.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventDestination
default CreateEventDestinationResponse.Builder eventDestination(Consumer<EventDestination.Builder> eventDestination) The details of the destination where events are logged.
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 toeventDestination(EventDestination)
.- Parameters:
eventDestination
- 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:
-