public static interface AwsIamRoleDetails.Builder extends SdkPojo, CopyableBuilder<AwsIamRoleDetails.Builder,AwsIamRoleDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsIamRoleDetails.Builder |
assumeRolePolicyDocument(String assumeRolePolicyDocument)
The trust policy that grants permission to assume the role.
|
AwsIamRoleDetails.Builder |
attachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
The list of the managed policies that are attached to the role.
|
AwsIamRoleDetails.Builder |
attachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
The list of the managed policies that are attached to the role.
|
AwsIamRoleDetails.Builder |
attachedManagedPolicies(Consumer<AwsIamAttachedManagedPolicy.Builder>... attachedManagedPolicies)
The list of the managed policies that are attached to the role.
|
AwsIamRoleDetails.Builder |
createDate(String createDate)
Indicates when the role was created.
|
AwsIamRoleDetails.Builder |
instanceProfileList(AwsIamInstanceProfile... instanceProfileList)
The list of instance profiles that contain this role.
|
AwsIamRoleDetails.Builder |
instanceProfileList(Collection<AwsIamInstanceProfile> instanceProfileList)
The list of instance profiles that contain this role.
|
AwsIamRoleDetails.Builder |
instanceProfileList(Consumer<AwsIamInstanceProfile.Builder>... instanceProfileList)
The list of instance profiles that contain this role.
|
AwsIamRoleDetails.Builder |
maxSessionDuration(Integer maxSessionDuration)
The maximum session duration (in seconds) that you want to set for the specified role.
|
AwsIamRoleDetails.Builder |
path(String path)
The path to the role.
|
AwsIamRoleDetails.Builder |
permissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
Sets the value of the PermissionsBoundary property for this object.
|
default AwsIamRoleDetails.Builder |
permissionsBoundary(Consumer<AwsIamPermissionsBoundary.Builder> permissionsBoundary)
Sets the value of the PermissionsBoundary property for this object.
|
AwsIamRoleDetails.Builder |
roleId(String roleId)
The stable and unique string identifying the role.
|
AwsIamRoleDetails.Builder |
roleName(String roleName)
The friendly name that identifies the role.
|
AwsIamRoleDetails.Builder |
rolePolicyList(AwsIamRolePolicy... rolePolicyList)
The list of inline policies that are embedded in the role.
|
AwsIamRoleDetails.Builder |
rolePolicyList(Collection<AwsIamRolePolicy> rolePolicyList)
The list of inline policies that are embedded in the role.
|
AwsIamRoleDetails.Builder |
rolePolicyList(Consumer<AwsIamRolePolicy.Builder>... rolePolicyList)
The list of inline policies that are embedded in the role.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsIamRoleDetails.Builder assumeRolePolicyDocument(String assumeRolePolicyDocument)
The trust policy that grants permission to assume the role.
assumeRolePolicyDocument - The trust policy that grants permission to assume the role.AwsIamRoleDetails.Builder attachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)
The list of the managed policies that are attached to the role.
attachedManagedPolicies - The list of the managed policies that are attached to the role.AwsIamRoleDetails.Builder attachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)
The list of the managed policies that are attached to the role.
attachedManagedPolicies - The list of the managed policies that are attached to the role.AwsIamRoleDetails.Builder attachedManagedPolicies(Consumer<AwsIamAttachedManagedPolicy.Builder>... attachedManagedPolicies)
The list of the managed policies that are attached to the role.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #attachedManagedPolicies(List) .attachedManagedPolicies - a consumer that will call methods on List.Builder #attachedManagedPolicies(List) AwsIamRoleDetails.Builder createDate(String createDate)
Indicates when the role was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time Format.
The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
createDate - Indicates when the role was created.
Uses the date-time format specified in RFC 3339 section 5.6, Internet Date/Time
Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z.
AwsIamRoleDetails.Builder instanceProfileList(Collection<AwsIamInstanceProfile> instanceProfileList)
The list of instance profiles that contain this role.
instanceProfileList - The list of instance profiles that contain this role.AwsIamRoleDetails.Builder instanceProfileList(AwsIamInstanceProfile... instanceProfileList)
The list of instance profiles that contain this role.
instanceProfileList - The list of instance profiles that contain this role.AwsIamRoleDetails.Builder instanceProfileList(Consumer<AwsIamInstanceProfile.Builder>... instanceProfileList)
The list of instance profiles that contain this role.
This is a convenience that creates an instance of theList.Builder avoiding
the need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called
immediately and its result is passed to #instanceProfileList(List) .instanceProfileList - a consumer that will call methods on List.Builder #instanceProfileList(List) AwsIamRoleDetails.Builder permissionsBoundary(AwsIamPermissionsBoundary permissionsBoundary)
permissionsBoundary - The new value for the PermissionsBoundary property for this object.default AwsIamRoleDetails.Builder permissionsBoundary(Consumer<AwsIamPermissionsBoundary.Builder> permissionsBoundary)
AwsIamPermissionsBoundary.Builder avoiding the
need to create one manually via AwsIamPermissionsBoundary.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to permissionsBoundary(AwsIamPermissionsBoundary).permissionsBoundary - a consumer that will call methods on AwsIamPermissionsBoundary.BuilderpermissionsBoundary(AwsIamPermissionsBoundary)AwsIamRoleDetails.Builder roleId(String roleId)
The stable and unique string identifying the role.
roleId - The stable and unique string identifying the role.AwsIamRoleDetails.Builder roleName(String roleName)
The friendly name that identifies the role.
roleName - The friendly name that identifies the role.AwsIamRoleDetails.Builder rolePolicyList(Collection<AwsIamRolePolicy> rolePolicyList)
The list of inline policies that are embedded in the role.
rolePolicyList - The list of inline policies that are embedded in the role.AwsIamRoleDetails.Builder rolePolicyList(AwsIamRolePolicy... rolePolicyList)
The list of inline policies that are embedded in the role.
rolePolicyList - The list of inline policies that are embedded in the role.AwsIamRoleDetails.Builder rolePolicyList(Consumer<AwsIamRolePolicy.Builder>... rolePolicyList)
The list of inline policies that are embedded in the role.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #rolePolicyList(List) .rolePolicyList - a consumer that will call methods on List.Builder #rolePolicyList(List) AwsIamRoleDetails.Builder maxSessionDuration(Integer maxSessionDuration)
The maximum session duration (in seconds) that you want to set for the specified role.
maxSessionDuration - The maximum session duration (in seconds) that you want to set for the specified role.AwsIamRoleDetails.Builder path(String path)
The path to the role.
path - The path to the role.Copyright © 2021. All rights reserved.