Interface GetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGroupResponse.Builder,GetGroupResponse>,IamResponse.Builder,SdkBuilder<GetGroupResponse.Builder,GetGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetGroupResponse
public static interface GetGroupResponse.Builder extends IamResponse.Builder, SdkPojo, CopyableBuilder<GetGroupResponse.Builder,GetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetGroupResponse.Buildergroup(Consumer<Group.Builder> group)A structure that contains details about the group.GetGroupResponse.Buildergroup(Group group)A structure that contains details about the group.GetGroupResponse.BuilderisTruncated(Boolean isTruncated)A flag that indicates whether there are more items to return.GetGroupResponse.Buildermarker(String marker)WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.GetGroupResponse.Builderusers(Collection<User> users)A list of users in the group.GetGroupResponse.Builderusers(Consumer<User.Builder>... users)A list of users in the group.GetGroupResponse.Builderusers(User... users)A list of users in the group.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iam.model.IamResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
group
GetGroupResponse.Builder group(Group group)
A structure that contains details about the group.
- Parameters:
group- A structure that contains details about the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
group
default GetGroupResponse.Builder group(Consumer<Group.Builder> group)
A structure that contains details about the group.
This is a convenience method that creates an instance of theGroup.Builderavoiding the need to create one manually viaGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroup(Group).- Parameters:
group- a consumer that will call methods onGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
group(Group)
-
users
GetGroupResponse.Builder users(Collection<User> users)
A list of users in the group.
- Parameters:
users- A list of users in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
GetGroupResponse.Builder users(User... users)
A list of users in the group.
- Parameters:
users- A list of users in the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
users
GetGroupResponse.Builder users(Consumer<User.Builder>... users)
A list of users in the group.
This is a convenience method that creates an instance of theUser.Builderavoiding the need to create one manually viaUser.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#users(List.) - Parameters:
users- a consumer that will call methods onUser.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#users(java.util.Collection)
-
isTruncated
GetGroupResponse.Builder isTruncated(Boolean isTruncated)
A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using the
Markerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Parameters:
isTruncated- A flag that indicates whether there are more items to return. If your results were truncated, you can make a subsequent pagination request using theMarkerrequest parameter to retrieve more items. Note that IAM might return fewer than theMaxItemsnumber of results even when there are more results available. We recommend that you checkIsTruncatedafter every call to ensure that you receive all your results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
marker
GetGroupResponse.Builder marker(String marker)
When
IsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Parameters:
marker- WhenIsTruncatedistrue, this element is present and contains the value to use for theMarkerparameter in a subsequent pagination request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-