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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateProfileRequest.BuilderacceptRoleSessionName(Boolean acceptRoleSessionName)Used to determine if a custom role session name will be accepted in a temporary credential request.UpdateProfileRequest.BuilderdurationSeconds(Integer durationSeconds)Used to determine how long sessions vended using this profile are valid for.UpdateProfileRequest.BuildermanagedPolicyArns(String... managedPolicyArns)A list of managed policy ARNs that apply to the vended session credentials.UpdateProfileRequest.BuildermanagedPolicyArns(Collection<String> managedPolicyArns)A list of managed policy ARNs that apply to the vended session credentials.UpdateProfileRequest.Buildername(String name)The name of the profile.UpdateProfileRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateProfileRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateProfileRequest.BuilderprofileId(String profileId)The unique identifier of the profile.UpdateProfileRequest.BuilderroleArns(String... roleArns)A list of IAM roles that this profile can assume in a temporary credential request.UpdateProfileRequest.BuilderroleArns(Collection<String> roleArns)A list of IAM roles that this profile can assume in a temporary credential request.UpdateProfileRequest.BuildersessionPolicy(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 Detail
-
acceptRoleSessionName
UpdateProfileRequest.Builder acceptRoleSessionName(Boolean acceptRoleSessionName)
Used to determine if a custom role session name will be accepted in a temporary credential request.
- Parameters:
acceptRoleSessionName- Used to determine if a custom role session name will be accepted in a temporary credential request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
UpdateProfileRequest.Builder durationSeconds(Integer durationSeconds)
Used to determine how long sessions vended using this profile are valid for. See the
Expirationsection of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.- Parameters:
durationSeconds- Used to determine how long sessions vended using this profile are valid for. See theExpirationsection of the CreateSession API documentation page for more details. In requests, if this value is not provided, the default value will be 3600.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedPolicyArns
UpdateProfileRequest.Builder managedPolicyArns(Collection<String> 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
UpdateProfileRequest.Builder managedPolicyArns(String... 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
UpdateProfileRequest.Builder name(String 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
UpdateProfileRequest.Builder profileId(String 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
UpdateProfileRequest.Builder roleArns(Collection<String> 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
UpdateProfileRequest.Builder roleArns(String... 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
UpdateProfileRequest.Builder sessionPolicy(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-