public static interface CreateProfileRequest.Builder extends RolesAnywhereRequest.Builder, SdkPojo, CopyableBuilder<CreateProfileRequest.Builder,CreateProfileRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateProfileRequest.Builder |
durationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
|
CreateProfileRequest.Builder |
enabled(Boolean enabled)
Specifies whether the profile is enabled.
|
CreateProfileRequest.Builder |
managedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
CreateProfileRequest.Builder |
managedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
|
CreateProfileRequest.Builder |
name(String name)
The name of the profile.
|
CreateProfileRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateProfileRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateProfileRequest.Builder |
requireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
|
CreateProfileRequest.Builder |
roleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
CreateProfileRequest.Builder |
roleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
|
CreateProfileRequest.Builder |
sessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
|
CreateProfileRequest.Builder |
tags(Collection<Tag> tags)
The tags to attach to the profile.
|
CreateProfileRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
The tags to attach to the profile.
|
CreateProfileRequest.Builder |
tags(Tag... tags)
The tags to attach to the profile.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateProfileRequest.Builder durationSeconds(Integer durationSeconds)
The number of seconds the vended session credentials are valid for.
durationSeconds - The number of seconds the vended session credentials are valid for.CreateProfileRequest.Builder enabled(Boolean enabled)
Specifies whether the profile is enabled.
enabled - Specifies whether the profile is enabled.CreateProfileRequest.Builder managedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.CreateProfileRequest.Builder managedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.
managedPolicyArns - A list of managed policy ARNs that apply to the vended session credentials.CreateProfileRequest.Builder name(String name)
The name of the profile.
name - The name of the profile.CreateProfileRequest.Builder requireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.
requireInstanceProperties - Specifies whether instance properties are required in temporary credential requests with this profile.CreateProfileRequest.Builder roleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns - A list of IAM roles that this profile can assume in a temporary credential request.CreateProfileRequest.Builder roleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.
roleArns - A list of IAM roles that this profile can assume in a temporary credential request.CreateProfileRequest.Builder sessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.
sessionPolicy - A session policy that applies to the trust boundary of the vended session credentials.CreateProfileRequest.Builder tags(Collection<Tag> tags)
The tags to attach to the profile.
tags - The tags to attach to the profile.CreateProfileRequest.Builder tags(Tag... tags)
The tags to attach to the profile.
tags - The tags to attach to the profile.CreateProfileRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to attach to the profile.
This is a convenience method that creates an instance of theTag.Builder avoiding the need to create one
manually via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.