Interface AccountPlanningInvitationPayload.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AccountPlanningInvitationPayload.Builder,,AccountPlanningInvitationPayload> SdkBuilder<AccountPlanningInvitationPayload.Builder,,AccountPlanningInvitationPayload> SdkPojo
- Enclosing class:
AccountPlanningInvitationPayload
-
Method Summary
Modifier and TypeMethodDescriptionaccountIdentifier(String accountIdentifier) The identifier of the customer account that the plan concerns, as an Amazon Resource Name (ARN) or a customer account identifier.customer(Consumer<AccountCustomer.Builder> customer) A caller-supplied snapshot of the customer company's identity, so that the receiver can tell which account the plan concerns even when the account isn't yet mapped to an AWS account.customer(AccountCustomer customer) A caller-supplied snapshot of the customer company's identity, so that the receiver can tell which account the plan concerns even when the account isn't yet mapped to an AWS account.preferredContact(Consumer<PreferredContactWindow.Builder> preferredContact) When the sender prefers to be contacted about this account plan.preferredContact(PreferredContactWindow preferredContact) When the sender prefers to be contacted about this account plan.senderContacts(Collection<SenderContact> senderContacts) The sender's contact information for this account plan.senderContacts(Consumer<SenderContact.Builder>... senderContacts) The sender's contact information for this account plan.senderContacts(SenderContact... senderContacts) The sender's contact information for this account plan.Methods 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, sdkFields
-
Method Details
-
accountIdentifier
The identifier of the customer account that the plan concerns, as an Amazon Resource Name (ARN) or a customer account identifier.
- Parameters:
accountIdentifier- The identifier of the customer account that the plan concerns, as an Amazon Resource Name (ARN) or a customer account identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
A caller-supplied snapshot of the customer company's identity, so that the receiver can tell which account the plan concerns even when the account isn't yet mapped to an AWS account.
- Parameters:
customer- A caller-supplied snapshot of the customer company's identity, so that the receiver can tell which account the plan concerns even when the account isn't yet mapped to an AWS account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customer
default AccountPlanningInvitationPayload.Builder customer(Consumer<AccountCustomer.Builder> customer) A caller-supplied snapshot of the customer company's identity, so that the receiver can tell which account the plan concerns even when the account isn't yet mapped to an AWS account.
This is a convenience method that creates an instance of theAccountCustomer.Builderavoiding the need to create one manually viaAccountCustomer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomer(AccountCustomer).- Parameters:
customer- a consumer that will call methods onAccountCustomer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
senderContacts
The sender's contact information for this account plan.
- Parameters:
senderContacts- The sender's contact information for this account plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderContacts
The sender's contact information for this account plan.
- Parameters:
senderContacts- The sender's contact information for this account plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
senderContacts
AccountPlanningInvitationPayload.Builder senderContacts(Consumer<SenderContact.Builder>... senderContacts) The sender's contact information for this account plan.
This is a convenience method that creates an instance of theSenderContact.Builderavoiding the need to create one manually viaSenderContact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosenderContacts(List<SenderContact>).- Parameters:
senderContacts- a consumer that will call methods onSenderContact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
preferredContact
When the sender prefers to be contacted about this account plan. This information is advisory.
- Parameters:
preferredContact- When the sender prefers to be contacted about this account plan. This information is advisory.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preferredContact
default AccountPlanningInvitationPayload.Builder preferredContact(Consumer<PreferredContactWindow.Builder> preferredContact) When the sender prefers to be contacted about this account plan. This information is advisory.
This is a convenience method that creates an instance of thePreferredContactWindow.Builderavoiding the need to create one manually viaPreferredContactWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreferredContact(PreferredContactWindow).- Parameters:
preferredContact- a consumer that will call methods onPreferredContactWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-