Interface GetEmailContactResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetEmailContactResponse.Builder,
,GetEmailContactResponse> NotificationsContactsResponse.Builder
,SdkBuilder<GetEmailContactResponse.Builder,
,GetEmailContactResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetEmailContactResponse
@Mutable
@NotThreadSafe
public static interface GetEmailContactResponse.Builder
extends NotificationsContactsResponse.Builder, SdkPojo, CopyableBuilder<GetEmailContactResponse.Builder,GetEmailContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetEmailContactResponse.Builder
emailContact
(Consumer<EmailContact.Builder> emailContact) The email contact for the provided email address.emailContact
(EmailContact emailContact) The email contact for the provided email address.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.notificationscontacts.model.NotificationsContactsResponse.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
-
emailContact
The email contact for the provided email address.
- Parameters:
emailContact
- The email contact for the provided email address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
emailContact
The email contact for the provided email address.
This is a convenience method that creates an instance of theEmailContact.Builder
avoiding the need to create one manually viaEmailContact.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toemailContact(EmailContact)
.- Parameters:
emailContact
- a consumer that will call methods onEmailContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-