Interface ProfileDetail.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ProfileDetail.Builder,
,ProfileDetail> SdkBuilder<ProfileDetail.Builder,
,ProfileDetail> SdkPojo
- Enclosing class:
ProfileDetail
-
Method Summary
Modifier and TypeMethodDescriptionacceptRoleSessionName
(Boolean acceptRoleSessionName) Used to determine if a custom role session name will be accepted in a temporary credential request.attributeMappings
(Collection<AttributeMapping> attributeMappings) A mapping applied to the authenticating end-entity certificate.attributeMappings
(Consumer<AttributeMapping.Builder>... attributeMappings) A mapping applied to the authenticating end-entity certificate.attributeMappings
(AttributeMapping... attributeMappings) A mapping applied to the authenticating end-entity certificate.The ISO-8601 timestamp when the profile was created.The Amazon Web Services account that created the profile.durationSeconds
(Integer durationSeconds) Used to determine how long sessions vended using this profile are valid for.Indicates whether the profile is enabled.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.profileArn
(String profileArn) The ARN of the profile.The unique identifier of the profile.requireInstanceProperties
(Boolean requireInstanceProperties) Specifies whether instance properties are required in temporary credential requests with this 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.The ISO-8601 timestamp when the profile was last updated.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
attributeMappings
A mapping applied to the authenticating end-entity certificate.
- Parameters:
attributeMappings
- A mapping applied to the authenticating end-entity certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeMappings
A mapping applied to the authenticating end-entity certificate.
- Parameters:
attributeMappings
- A mapping applied to the authenticating end-entity certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attributeMappings
A mapping applied to the authenticating end-entity certificate.
This is a convenience method that creates an instance of theAttributeMapping.Builder
avoiding the need to create one manually viaAttributeMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattributeMappings(List<AttributeMapping>)
.- Parameters:
attributeMappings
- a consumer that will call methods onAttributeMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The ISO-8601 timestamp when the profile was created.
- Parameters:
createdAt
- The ISO-8601 timestamp when the profile was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The Amazon Web Services account that created the profile.
- Parameters:
createdBy
- The Amazon Web Services account that created the profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
durationSeconds
Used to determine how long sessions vended using this profile are valid for. See the
Expiration
section 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 theExpiration
section 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.
-
enabled
Indicates whether the profile is enabled.
- Parameters:
enabled
- Indicates whether the profile is enabled.- 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.
-
profileArn
The ARN of the profile.
- Parameters:
profileArn
- The ARN 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.
-
requireInstanceProperties
Specifies whether instance properties are required in temporary credential requests with this profile.
- Parameters:
requireInstanceProperties
- Specifies whether instance properties are required in temporary credential requests with this 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.
-
updatedAt
The ISO-8601 timestamp when the profile was last updated.
- Parameters:
updatedAt
- The ISO-8601 timestamp when the profile was last updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-