Interface GroupDetail.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GroupDetail.Builder,GroupDetail>,SdkBuilder<GroupDetail.Builder,GroupDetail>,SdkPojo
- Enclosing class:
- GroupDetail
@Mutable @NotThreadSafe public static interface GroupDetail.Builder extends SdkPojo, CopyableBuilder<GroupDetail.Builder,GroupDetail>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GroupDetail.Builderarn(String arn)Sets the value of the Arn property for this object.GroupDetail.BuilderattachedManagedPolicies(Collection<AttachedPolicy> attachedManagedPolicies)A list of the managed policies attached to the group.GroupDetail.BuilderattachedManagedPolicies(Consumer<AttachedPolicy.Builder>... attachedManagedPolicies)A list of the managed policies attached to the group.GroupDetail.BuilderattachedManagedPolicies(AttachedPolicy... attachedManagedPolicies)A list of the managed policies attached to the group.GroupDetail.BuildercreateDate(Instant createDate)The date and time, in ISO 8601 date-time format, when the group was created.GroupDetail.BuildergroupId(String groupId)The stable and unique string identifying the group.GroupDetail.BuildergroupName(String groupName)The friendly name that identifies the group.GroupDetail.BuildergroupPolicyList(Collection<PolicyDetail> groupPolicyList)A list of the inline policies embedded in the group.GroupDetail.BuildergroupPolicyList(Consumer<PolicyDetail.Builder>... groupPolicyList)A list of the inline policies embedded in the group.GroupDetail.BuildergroupPolicyList(PolicyDetail... groupPolicyList)A list of the inline policies embedded in the group.GroupDetail.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
-
path
GroupDetail.Builder path(String 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
GroupDetail.Builder groupName(String 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
GroupDetail.Builder groupId(String 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
GroupDetail.Builder arn(String 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
GroupDetail.Builder createDate(Instant 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
GroupDetail.Builder groupPolicyList(Collection<PolicyDetail> 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
GroupDetail.Builder groupPolicyList(PolicyDetail... 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
GroupDetail.Builder groupPolicyList(Consumer<PolicyDetail.Builder>... 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 to#groupPolicyList(List.) - 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:
#groupPolicyList(java.util.Collection)
-
attachedManagedPolicies
GroupDetail.Builder attachedManagedPolicies(Collection<AttachedPolicy> 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(AttachedPolicy... 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 to#attachedManagedPolicies(List.) - 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:
#attachedManagedPolicies(java.util.Collection)
-
-