Interface AwsIamGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsIamGroupDetails.Builder,
,AwsIamGroupDetails> SdkBuilder<AwsIamGroupDetails.Builder,
,AwsIamGroupDetails> SdkPojo
- Enclosing class:
AwsIamGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptionattachedManagedPolicies
(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.attachedManagedPolicies
(Consumer<AwsIamAttachedManagedPolicy.Builder>... attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.attachedManagedPolicies
(AwsIamAttachedManagedPolicy... attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.createDate
(String createDate) Indicates when the IAM group was created.The identifier of the IAM group.The name of the IAM group.groupPolicyList
(Collection<AwsIamGroupPolicy> groupPolicyList) The list of inline policies that are embedded in the group.groupPolicyList
(Consumer<AwsIamGroupPolicy.Builder>... groupPolicyList) The list of inline policies that are embedded in the group.groupPolicyList
(AwsIamGroupPolicy... groupPolicyList) The list of inline policies that are embedded in the group.The path to the group.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 Details
-
attachedManagedPolicies
AwsIamGroupDetails.Builder attachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.
- Parameters:
attachedManagedPolicies
- A list of the managed policies that are attached to the IAM group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
AwsIamGroupDetails.Builder attachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.
- Parameters:
attachedManagedPolicies
- A list of the managed policies that are attached to the IAM group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
AwsIamGroupDetails.Builder attachedManagedPolicies(Consumer<AwsIamAttachedManagedPolicy.Builder>... attachedManagedPolicies) A list of the managed policies that are attached to the IAM group.
This is a convenience method that creates an instance of theAwsIamAttachedManagedPolicy.Builder
avoiding the need to create one manually viaAwsIamAttachedManagedPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toattachedManagedPolicies(List<AwsIamAttachedManagedPolicy>)
.- Parameters:
attachedManagedPolicies
- a consumer that will call methods onAwsIamAttachedManagedPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createDate
Indicates when the IAM group was created.
This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
- Parameters:
createDate
- Indicates when the IAM group was created.This field accepts only the specified formats. Timestamps can end with
Z
or("+" / "-") time-hour [":" time-minute]
. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:-
YYYY-MM-DDTHH:MM:SSZ
(for example,2019-01-31T23:00:00Z
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ
(for example,2019-01-31T23:00:00.123456789Z
) -
YYYY-MM-DDTHH:MM:SS+HH:MM
(for example,2024-01-04T15:25:10+17:59
) -
YYYY-MM-DDTHH:MM:SS-HHMM
(for example,2024-01-04T15:25:10-1759
) -
YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM
(for example,2024-01-04T15:25:10.123456789+17:59
)
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
groupId
The identifier of the IAM group.
- Parameters:
groupId
- The identifier of the IAM group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The name of the IAM group.
- Parameters:
groupName
- The name of the IAM group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
The list of inline policies that are embedded in the group.
- Parameters:
groupPolicyList
- The list of inline policies that are embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
The list of inline policies that are embedded in the group.
- Parameters:
groupPolicyList
- The list of inline policies that are embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
The list of inline policies that are embedded in the group.
This is a convenience method that creates an instance of theAwsIamGroupPolicy.Builder
avoiding the need to create one manually viaAwsIamGroupPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togroupPolicyList(List<AwsIamGroupPolicy>)
.- Parameters:
groupPolicyList
- a consumer that will call methods onAwsIamGroupPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
path
The path to the group.
- Parameters:
path
- The path to the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-