Interface GetContactInformationResponse.Builder
- All Superinterfaces:
AccountResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetContactInformationResponse.Builder,
,GetContactInformationResponse> SdkBuilder<GetContactInformationResponse.Builder,
,GetContactInformationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetContactInformationResponse
@Mutable
@NotThreadSafe
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, 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 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.Builder
avoiding the need to create one manually viaContactInformation.builder()
.When the
Consumer
completes,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:
-