Interface UpdateProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateProfileRequest.Builder,
,UpdateProfileRequest> RolesAnywhereRequest.Builder
,SdkBuilder<UpdateProfileRequest.Builder,
,UpdateProfileRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateProfileRequest
public static interface UpdateProfileRequest.Builder
extends RolesAnywhereRequest.Builder, SdkPojo, CopyableBuilder<UpdateProfileRequest.Builder,UpdateProfileRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondurationSeconds
(Integer durationSeconds) The number of seconds the vended session credentials are valid for.managedPolicyArns
(String... managedPolicyArns) A list of managed policy ARNs that apply to the vended session credentials.managedPolicyArns
(Collection<String> managedPolicyArns) A list of managed policy ARNs that apply to the vended session credentials.The name of the profile.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The unique identifier of the profile.A list of IAM roles that this profile can assume in a temporary credential request.roleArns
(Collection<String> roleArns) A list of IAM roles that this profile can assume in a temporary credential request.sessionPolicy
(String sessionPolicy) A session policy that applies to the trust boundary of the vended session credentials.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.rolesanywhere.model.RolesAnywhereRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
durationSeconds
The number of seconds the vended session credentials are valid for.
- Parameters:
durationSeconds
- The number of seconds the vended session credentials are valid for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedPolicyArns
A list of managed policy ARNs that apply to the vended session credentials.
- Parameters:
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedPolicyArns
A list of managed policy ARNs that apply to the vended session credentials.
- Parameters:
managedPolicyArns
- A list of managed policy ARNs that apply to the vended session credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the profile.
- Parameters:
name
- The name of the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profileId
The unique identifier of the profile.
- Parameters:
profileId
- The unique identifier of the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArns
A list of IAM roles that this profile can assume in a temporary credential request.
- Parameters:
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArns
A list of IAM roles that this profile can assume in a temporary credential request.
- Parameters:
roleArns
- A list of IAM roles that this profile can assume in a temporary credential request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionPolicy
A session policy that applies to the trust boundary of the vended session credentials.
- Parameters:
sessionPolicy
- A session policy that applies to the trust boundary of the vended session credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-