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.BuilderemailContact(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
copyMethods inherited from interface software.amazon.awssdk.services.notificationscontacts.model.NotificationsContactsResponse.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
-
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.Builderavoiding the need to create one manually viaEmailContact.builder().When the
Consumercompletes,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:
-