Interface GetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetGroupResponse.Builder,GetGroupResponse>,SdkBuilder<GetGroupResponse.Builder,GetGroupResponse>,SdkPojo,SdkResponse.Builder,XRayResponse.Builder
- Enclosing class:
- GetGroupResponse
@Mutable @NotThreadSafe public static interface GetGroupResponse.Builder extends XRayResponse.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)The group that was requested.GetGroupResponse.Buildergroup(Group group)The group that was requested.-
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
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.xray.model.XRayResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
Method Detail
-
group
GetGroupResponse.Builder group(Group group)
The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to the group.
- Parameters:
group- The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to 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)
The group that was requested. Contains the name of the group, the ARN of the group, the filter expression, and the insight configuration assigned to 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)
-
-