Interface GetAlternateContactResponse.Builder
- All Superinterfaces:
AccountResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetAlternateContactResponse.Builder,,GetAlternateContactResponse> SdkBuilder<GetAlternateContactResponse.Builder,,GetAlternateContactResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetAlternateContactResponse
public static interface GetAlternateContactResponse.Builder
extends AccountResponse.Builder, SdkPojo, CopyableBuilder<GetAlternateContactResponse.Builder,GetAlternateContactResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalternateContact(Consumer<AlternateContact.Builder> alternateContact) A structure that contains the details for the specified alternate contact.alternateContact(AlternateContact alternateContact) A structure that contains the details for the specified alternate contact.Methods inherited from interface software.amazon.awssdk.services.account.model.AccountResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods 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
-
alternateContact
A structure that contains the details for the specified alternate contact.
- Parameters:
alternateContact- A structure that contains the details for the specified alternate contact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alternateContact
default GetAlternateContactResponse.Builder alternateContact(Consumer<AlternateContact.Builder> alternateContact) A structure that contains the details for the specified alternate contact.
This is a convenience method that creates an instance of theAlternateContact.Builderavoiding the need to create one manually viaAlternateContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toalternateContact(AlternateContact).- Parameters:
alternateContact- a consumer that will call methods onAlternateContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-