public static interface CreateImpersonationRoleRequest.Builder extends WorkMailRequest.Builder, SdkPojo, CopyableBuilder<CreateImpersonationRoleRequest.Builder,CreateImpersonationRoleRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateImpersonationRoleRequest.Builder clientToken(String clientToken)
The idempotency token for the client request.
clientToken - The idempotency token for the client request.CreateImpersonationRoleRequest.Builder organizationId(String organizationId)
The WorkMail organization to create the new impersonation role within.
organizationId - The WorkMail organization to create the new impersonation role within.CreateImpersonationRoleRequest.Builder name(String name)
The name of the new impersonation role.
name - The name of the new impersonation role.CreateImpersonationRoleRequest.Builder type(String type)
The impersonation role's type. The available impersonation role types are READ_ONLY or
FULL_ACCESS.
type - The impersonation role's type. The available impersonation role types are READ_ONLY or
FULL_ACCESS.ImpersonationRoleType,
ImpersonationRoleTypeCreateImpersonationRoleRequest.Builder type(ImpersonationRoleType type)
The impersonation role's type. The available impersonation role types are READ_ONLY or
FULL_ACCESS.
type - The impersonation role's type. The available impersonation role types are READ_ONLY or
FULL_ACCESS.ImpersonationRoleType,
ImpersonationRoleTypeCreateImpersonationRoleRequest.Builder description(String description)
The description of the new impersonation role.
description - The description of the new impersonation role.CreateImpersonationRoleRequest.Builder rules(Collection<ImpersonationRule> rules)
The list of rules for the impersonation role.
rules - The list of rules for the impersonation role.CreateImpersonationRoleRequest.Builder rules(ImpersonationRule... rules)
The list of rules for the impersonation role.
rules - The list of rules for the impersonation role.CreateImpersonationRoleRequest.Builder rules(Consumer<ImpersonationRule.Builder>... rules)
The list of rules for the impersonation role.
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) CreateImpersonationRoleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateImpersonationRoleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.