Interface GetImpersonationRoleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetImpersonationRoleResponse.Builder,GetImpersonationRoleResponse>,SdkBuilder<GetImpersonationRoleResponse.Builder,GetImpersonationRoleResponse>,SdkPojo,SdkResponse.Builder,WorkMailResponse.Builder
- Enclosing class:
- GetImpersonationRoleResponse
public static interface GetImpersonationRoleResponse.Builder extends WorkMailResponse.Builder, SdkPojo, CopyableBuilder<GetImpersonationRoleResponse.Builder,GetImpersonationRoleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetImpersonationRoleResponse.BuilderdateCreated(Instant dateCreated)The date when the impersonation role was created.GetImpersonationRoleResponse.BuilderdateModified(Instant dateModified)The date when the impersonation role was last modified.GetImpersonationRoleResponse.Builderdescription(String description)The impersonation role description.GetImpersonationRoleResponse.BuilderimpersonationRoleId(String impersonationRoleId)The impersonation role ID.GetImpersonationRoleResponse.Buildername(String name)The impersonation role name.GetImpersonationRoleResponse.Builderrules(Collection<ImpersonationRule> rules)The list of rules for the given impersonation role.GetImpersonationRoleResponse.Builderrules(Consumer<ImpersonationRule.Builder>... rules)The list of rules for the given impersonation role.GetImpersonationRoleResponse.Builderrules(ImpersonationRule... rules)The list of rules for the given impersonation role.GetImpersonationRoleResponse.Buildertype(String type)The impersonation role type.GetImpersonationRoleResponse.Buildertype(ImpersonationRoleType type)The impersonation role type.-
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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.workmail.model.WorkMailResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
impersonationRoleId
GetImpersonationRoleResponse.Builder impersonationRoleId(String impersonationRoleId)
The impersonation role ID.
- Parameters:
impersonationRoleId- The impersonation role ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GetImpersonationRoleResponse.Builder name(String name)
The impersonation role name.
- Parameters:
name- The impersonation role name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
GetImpersonationRoleResponse.Builder type(String type)
The impersonation role type.
- Parameters:
type- The impersonation role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImpersonationRoleType,ImpersonationRoleType
-
type
GetImpersonationRoleResponse.Builder type(ImpersonationRoleType type)
The impersonation role type.
- Parameters:
type- The impersonation role type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ImpersonationRoleType,ImpersonationRoleType
-
description
GetImpersonationRoleResponse.Builder description(String description)
The impersonation role description.
- Parameters:
description- The impersonation role description.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
GetImpersonationRoleResponse.Builder rules(Collection<ImpersonationRule> rules)
The list of rules for the given impersonation role.
- Parameters:
rules- The list of rules for the given impersonation role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
GetImpersonationRoleResponse.Builder rules(ImpersonationRule... rules)
The list of rules for the given impersonation role.
- Parameters:
rules- The list of rules for the given impersonation role.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
GetImpersonationRoleResponse.Builder rules(Consumer<ImpersonationRule.Builder>... rules)
The list of rules for the given impersonation role.
This is a convenience method that creates an instance of theImpersonationRule.Builderavoiding the need to create one manually viaImpersonationRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - Parameters:
rules- a consumer that will call methods onImpersonationRule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#rules(java.util.Collection)
-
dateCreated
GetImpersonationRoleResponse.Builder dateCreated(Instant dateCreated)
The date when the impersonation role was created.
- Parameters:
dateCreated- The date when the impersonation role was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dateModified
GetImpersonationRoleResponse.Builder dateModified(Instant dateModified)
The date when the impersonation role was last modified.
- Parameters:
dateModified- The date when the impersonation role was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-