Interface GroupDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<GroupDetail.Builder,GroupDetail>, SdkBuilder<GroupDetail.Builder,GroupDetail>, SdkPojo
Enclosing class:
GroupDetail

public static interface GroupDetail.Builder extends SdkPojo, CopyableBuilder<GroupDetail.Builder,GroupDetail>
  • 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

      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

      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 the PolicyDetail.Builder avoiding the need to create one manually via PolicyDetail.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groupPolicyList(List<PolicyDetail>).

      Parameters:
      groupPolicyList - a consumer that will call methods on PolicyDetail.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the AttachedPolicy.Builder avoiding the need to create one manually via AttachedPolicy.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to attachedManagedPolicies(List<AttachedPolicy>).

      Parameters:
      attachedManagedPolicies - a consumer that will call methods on AttachedPolicy.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: