Interface GetResourceShareInvitationsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetResourceShareInvitationsResponse.Builder,GetResourceShareInvitationsResponse>,RamResponse.Builder,SdkBuilder<GetResourceShareInvitationsResponse.Builder,GetResourceShareInvitationsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetResourceShareInvitationsResponse
public static interface GetResourceShareInvitationsResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<GetResourceShareInvitationsResponse.Builder,GetResourceShareInvitationsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetResourceShareInvitationsResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.GetResourceShareInvitationsResponse.BuilderresourceShareInvitations(Collection<ResourceShareInvitation> resourceShareInvitations)An array of objects that contain the details about the invitations.GetResourceShareInvitationsResponse.BuilderresourceShareInvitations(Consumer<ResourceShareInvitation.Builder>... resourceShareInvitations)An array of objects that contain the details about the invitations.GetResourceShareInvitationsResponse.BuilderresourceShareInvitations(ResourceShareInvitation... resourceShareInvitations)An array of objects that contain the details about the invitations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ram.model.RamResponse.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
-
resourceShareInvitations
GetResourceShareInvitationsResponse.Builder resourceShareInvitations(Collection<ResourceShareInvitation> resourceShareInvitations)
An array of objects that contain the details about the invitations.
- Parameters:
resourceShareInvitations- An array of objects that contain the details about the invitations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareInvitations
GetResourceShareInvitationsResponse.Builder resourceShareInvitations(ResourceShareInvitation... resourceShareInvitations)
An array of objects that contain the details about the invitations.
- Parameters:
resourceShareInvitations- An array of objects that contain the details about the invitations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceShareInvitations
GetResourceShareInvitationsResponse.Builder resourceShareInvitations(Consumer<ResourceShareInvitation.Builder>... resourceShareInvitations)
An array of objects that contain the details about the invitations.
This is a convenience method that creates an instance of theResourceShareInvitation.Builderavoiding the need to create one manually viaResourceShareInvitation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resourceShareInvitations(List.) - Parameters:
resourceShareInvitations- a consumer that will call methods onResourceShareInvitation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resourceShareInvitations(java.util.Collection)
-
nextToken
GetResourceShareInvitationsResponse.Builder nextToken(String nextToken)
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Parameters:
nextToken- If present, this value indicates that more output is available than is included in the current response. Use this value in theNextTokenrequest parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextTokenresponse element comes back asnull. This indicates that this is the last page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-