Interface GetContactInformationResponse.Builder
- All Superinterfaces:
AccountResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetContactInformationResponse.Builder,,GetContactInformationResponse> SdkBuilder<GetContactInformationResponse.Builder,,GetContactInformationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetContactInformationResponse
public static interface GetContactInformationResponse.Builder
extends AccountResponse.Builder, SdkPojo, CopyableBuilder<GetContactInformationResponse.Builder,GetContactInformationResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncontactInformation(Consumer<ContactInformation.Builder> contactInformation) Contains the details of the primary contact information associated with an Amazon Web Services account.contactInformation(ContactInformation contactInformation) Contains the details of the primary contact information associated with an Amazon Web Services account.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
-
contactInformation
Contains the details of the primary contact information associated with an Amazon Web Services account.
- Parameters:
contactInformation- Contains the details of the primary contact information associated with an Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contactInformation
default GetContactInformationResponse.Builder contactInformation(Consumer<ContactInformation.Builder> contactInformation) Contains the details of the primary contact information associated with an Amazon Web Services account.
This is a convenience method that creates an instance of theContactInformation.Builderavoiding the need to create one manually viaContactInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontactInformation(ContactInformation).- Parameters:
contactInformation- a consumer that will call methods onContactInformation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-