public static interface UpdateImpersonationRoleRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<UpdateImpersonationRoleRequest.Builder,UpdateImpersonationRoleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateImpersonationRoleRequest.Builder organizationId(String organizationId)
The WorkMail organization that contains the impersonation role to update.
organizationId - The WorkMail organization that contains the impersonation role to update.UpdateImpersonationRoleRequest.Builder impersonationRoleId(String impersonationRoleId)
The ID of the impersonation role to update.
impersonationRoleId - The ID of the impersonation role to update.UpdateImpersonationRoleRequest.Builder name(String name)
The updated impersonation role name.
name - The updated impersonation role name.UpdateImpersonationRoleRequest.Builder type(String type)
The updated impersonation role type.
type - The updated impersonation role type.ImpersonationRoleType,
ImpersonationRoleTypeUpdateImpersonationRoleRequest.Builder type(ImpersonationRoleType type)
The updated impersonation role type.
type - The updated impersonation role type.ImpersonationRoleType,
ImpersonationRoleTypeUpdateImpersonationRoleRequest.Builder description(String description)
The updated impersonation role description.
description - The updated impersonation role description.UpdateImpersonationRoleRequest.Builder rules(Collection<ImpersonationRule> rules)
The updated list of rules.
rules - The updated list of rules.UpdateImpersonationRoleRequest.Builder rules(ImpersonationRule... rules)
The updated list of rules.
rules - The updated list of rules.UpdateImpersonationRoleRequest.Builder rules(Consumer<ImpersonationRule.Builder>... rules)
The updated list of rules.
This is a convenience method that creates an instance of theImpersonationRule.Builder avoiding the need to create
one manually via ImpersonationRule.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #rules(List.
rules - a consumer that will call methods on
ImpersonationRule.Builder#rules(java.util.Collection) UpdateImpersonationRoleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateImpersonationRoleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.