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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetContactInformationResponse.BuildercontactInformation(Consumer<ContactInformation.Builder> contactInformation)Contains the details of the primary contact information associated with an Amazon Web Services account.GetContactInformationResponse.BuildercontactInformation(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 Detail
-
contactInformation
GetContactInformationResponse.Builder contactInformation(ContactInformation 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:
contactInformation(ContactInformation)
-
-