Interface GroupDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GroupDetail.Builder,,GroupDetail> SdkBuilder<GroupDetail.Builder,,GroupDetail> SdkPojo
- Enclosing class:
GroupDetail
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the Arn property for this object.attachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies) A list of the managed policies attached to the group.attachedManagedPolicies(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies) A list of the managed policies attached to the group.attachedManagedPolicies(AttachedPolicy... attachedManagedPolicies) A list of the managed policies attached to the group.createDate(Instant createDate) The date and time, in ISO 8601 date-time format, when the group was created.The stable and unique string identifying the group.The friendly name that identifies the group.groupPolicyList(Collection<PolicyDetail> groupPolicyList) A list of the inline policies embedded in the group.groupPolicyList(Consumer<PolicyDetail.Builder>... groupPolicyList) A list of the inline policies embedded in the group.groupPolicyList(PolicyDetail... groupPolicyList) A list of the inline policies embedded in the group.The path to the group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
path
The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.
- Parameters:
path- The path to the group. For more information about paths, see IAM identifiers in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
The friendly name that identifies the group.
- Parameters:
groupName- The friendly name that identifies the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupId
The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.
- Parameters:
groupId- The stable and unique string identifying the group. For more information about IDs, see IAM identifiers in the IAM User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
Sets the value of the Arn property for this object.- Parameters:
arn- The new value for the Arn property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
The date and time, in ISO 8601 date-time format, when the group was created.
- Parameters:
createDate- The date and time, in ISO 8601 date-time format, when the group was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
A list of the inline policies embedded in the group.
- Parameters:
groupPolicyList- A list of the inline policies embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
A list of the inline policies embedded in the group.
- Parameters:
groupPolicyList- A list of the inline policies embedded in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupPolicyList
A list of the inline policies embedded in the group.
This is a convenience method that creates an instance of thePolicyDetail.Builderavoiding the need to create one manually viaPolicyDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupPolicyList(List<PolicyDetail>).- Parameters:
groupPolicyList- a consumer that will call methods onPolicyDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attachedManagedPolicies
A list of the managed policies attached to the group.
- Parameters:
attachedManagedPolicies- A list of the managed policies attached to the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
A list of the managed policies attached to the group.
- Parameters:
attachedManagedPolicies- A list of the managed policies attached to the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
attachedManagedPolicies
GroupDetail.Builder attachedManagedPolicies(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies) A list of the managed policies attached to the group.
This is a convenience method that creates an instance of theAttachedPolicy.Builderavoiding the need to create one manually viaAttachedPolicy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toattachedManagedPolicies(List<AttachedPolicy>).- Parameters:
attachedManagedPolicies- a consumer that will call methods onAttachedPolicy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-