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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetAlternateContactResponse.BuilderalternateContact(Consumer<AlternateContact.Builder> alternateContact)A structure that contains the details for the specified alternate contact.GetAlternateContactResponse.BuilderalternateContact(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, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
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 Detail
-
alternateContact
GetAlternateContactResponse.Builder alternateContact(AlternateContact 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:
alternateContact(AlternateContact)
-
-