Interface ProfileDetail.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ProfileDetail.Builder,ProfileDetail>
,SdkBuilder<ProfileDetail.Builder,ProfileDetail>
,SdkPojo
- Enclosing class:
- ProfileDetail
public static interface ProfileDetail.Builder extends SdkPojo, CopyableBuilder<ProfileDetail.Builder,ProfileDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProfileDetail.Builder
createdAt(Instant createdAt)
The ISO-8601 timestamp when the profile was created.ProfileDetail.Builder
createdBy(String createdBy)
The Amazon Web Services account that created the profile.ProfileDetail.Builder
durationSeconds(Integer durationSeconds)
Used to determine how long sessions vended using this profile are valid for.ProfileDetail.Builder
enabled(Boolean enabled)
Indicates whether the profile is enabled.ProfileDetail.Builder
managedPolicyArns(String... managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.ProfileDetail.Builder
managedPolicyArns(Collection<String> managedPolicyArns)
A list of managed policy ARNs that apply to the vended session credentials.ProfileDetail.Builder
name(String name)
The name of the profile.ProfileDetail.Builder
profileArn(String profileArn)
The ARN of the profile.ProfileDetail.Builder
profileId(String profileId)
The unique identifier of the profile.ProfileDetail.Builder
requireInstanceProperties(Boolean requireInstanceProperties)
Specifies whether instance properties are required in temporary credential requests with this profile.ProfileDetail.Builder
roleArns(String... roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.ProfileDetail.Builder
roleArns(Collection<String> roleArns)
A list of IAM roles that this profile can assume in a temporary credential request.ProfileDetail.Builder
sessionPolicy(String sessionPolicy)
A session policy that applies to the trust boundary of the vended session credentials.ProfileDetail.Builder
updatedAt(Instant updatedAt)
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, sdkFields
-
-
-
-
Method Detail
-
createdAt
ProfileDetail.Builder createdAt(Instant 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
ProfileDetail.Builder createdBy(String 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
ProfileDetail.Builder durationSeconds(Integer 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
ProfileDetail.Builder enabled(Boolean 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
ProfileDetail.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
ProfileDetail.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
ProfileDetail.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.
-
profileArn
ProfileDetail.Builder profileArn(String 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
ProfileDetail.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.
-
requireInstanceProperties
ProfileDetail.Builder requireInstanceProperties(Boolean 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
ProfileDetail.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
ProfileDetail.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
ProfileDetail.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.
-
updatedAt
ProfileDetail.Builder updatedAt(Instant 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.
-
-