Interface AwsIamGroupDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsIamGroupDetails.Builder,AwsIamGroupDetails>,SdkBuilder<AwsIamGroupDetails.Builder,AwsIamGroupDetails>,SdkPojo
- Enclosing class:
- AwsIamGroupDetails
public static interface AwsIamGroupDetails.Builder extends SdkPojo, CopyableBuilder<AwsIamGroupDetails.Builder,AwsIamGroupDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AwsIamGroupDetails.BuilderattachedManagedPolicies(Collection<AwsIamAttachedManagedPolicy> attachedManagedPolicies)A list of the managed policies that are attached to the IAM group.AwsIamGroupDetails.BuilderattachedManagedPolicies(Consumer<AwsIamAttachedManagedPolicy.Builder>... attachedManagedPolicies)A list of the managed policies that are attached to the IAM group.AwsIamGroupDetails.BuilderattachedManagedPolicies(AwsIamAttachedManagedPolicy... attachedManagedPolicies)A list of the managed policies that are attached to the IAM group.AwsIamGroupDetails.BuildercreateDate(String createDate)Indicates when the IAM group was created.AwsIamGroupDetails.BuildergroupId(String groupId)The identifier of the IAM group.AwsIamGroupDetails.BuildergroupName(String groupName)The name of the IAM group.AwsIamGroupDetails.BuildergroupPolicyList(Collection<AwsIamGroupPolicy> groupPolicyList)The list of inline policies that are embedded in the group.AwsIamGroupDetails.BuildergroupPolicyList(Consumer<AwsIamGroupPolicy.Builder>... groupPolicyList)The list of inline policies that are embedded in the group.AwsIamGroupDetails.BuildergroupPolicyList(AwsIamGroupPolicy... groupPolicyList)The list of inline policies that are embedded in the group.AwsIamGroupDetails.Builderpath(String path)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaAwsIamAttachedManagedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#attachedManagedPolicies(List.) - 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:
#attachedManagedPolicies(java.util.Collection)
-
createDate
AwsIamGroupDetails.Builder createDate(String createDate)
Indicates when the IAM group was created.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
createDate- Indicates when the IAM group was created.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
AwsIamGroupDetails.Builder groupId(String 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
AwsIamGroupDetails.Builder groupName(String 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
AwsIamGroupDetails.Builder groupPolicyList(Collection<AwsIamGroupPolicy> 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
AwsIamGroupDetails.Builder groupPolicyList(AwsIamGroupPolicy... 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
AwsIamGroupDetails.Builder groupPolicyList(Consumer<AwsIamGroupPolicy.Builder>... groupPolicyList)
The list of inline policies that are embedded in the group.
This is a convenience method that creates an instance of theAwsIamGroupPolicy.Builderavoiding the need to create one manually viaAwsIamGroupPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#groupPolicyList(List.) - 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:
#groupPolicyList(java.util.Collection)
-
path
AwsIamGroupDetails.Builder path(String 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.
-
-