Interface CreateEventDestinationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateEventDestinationResponse.Builder,,CreateEventDestinationResponse> PinpointSmsVoiceV2Response.Builder,SdkBuilder<CreateEventDestinationResponse.Builder,,CreateEventDestinationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateEventDestinationResponse
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
copyMethods inherited from interface software.amazon.awssdk.services.pinpointsmsvoicev2.model.PinpointSmsVoiceV2Response.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
-
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.Builderavoiding the need to create one manually viaEventDestination.builder().When the
Consumercompletes,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:
-