Interface GetAlternateContactResponse.Builder
- All Superinterfaces:
- AccountResponse.Builder,- AwsResponse.Builder,- Buildable,- CopyableBuilder<GetAlternateContactResponse.Builder,,- GetAlternateContactResponse> - SdkBuilder<GetAlternateContactResponse.Builder,,- GetAlternateContactResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GetAlternateContactResponse
@Mutable
@NotThreadSafe
public static interface GetAlternateContactResponse.Builder
extends AccountResponse.Builder, SdkPojo, CopyableBuilder<GetAlternateContactResponse.Builder,GetAlternateContactResponse> 
- 
Method SummaryModifier 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.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
alternateContactA 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.
 
- 
alternateContactdefault 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 on- AlternateContact.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-