Interface GroupDetail.Builder

    • 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.
      • 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.
      • 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).

        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:
        #attachedManagedPolicies(java.util.Collection)