Interface ListPendingInvitationResourcesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListPendingInvitationResourcesResponse.Builder,ListPendingInvitationResourcesResponse>,RamResponse.Builder,SdkBuilder<ListPendingInvitationResourcesResponse.Builder,ListPendingInvitationResourcesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListPendingInvitationResourcesResponse
public static interface ListPendingInvitationResourcesResponse.Builder extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListPendingInvitationResourcesResponse.Builder,ListPendingInvitationResourcesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListPendingInvitationResourcesResponse.BuildernextToken(String nextToken)If present, this value indicates that more output is available than is included in the current response.ListPendingInvitationResourcesResponse.Builderresources(Collection<Resource> resources)An array of objects that contain the information about the resources included the specified resource share.ListPendingInvitationResourcesResponse.Builderresources(Consumer<Resource.Builder>... resources)An array of objects that contain the information about the resources included the specified resource share.ListPendingInvitationResourcesResponse.Builderresources(Resource... resources)An array of objects that contain the information about the resources included the specified resource share.-
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
-
resources
ListPendingInvitationResourcesResponse.Builder resources(Collection<Resource> resources)
An array of objects that contain the information about the resources included the specified resource share.
- Parameters:
resources- An array of objects that contain the information about the resources included the specified resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListPendingInvitationResourcesResponse.Builder resources(Resource... resources)
An array of objects that contain the information about the resources included the specified resource share.
- Parameters:
resources- An array of objects that contain the information about the resources included the specified resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resources
ListPendingInvitationResourcesResponse.Builder resources(Consumer<Resource.Builder>... resources)
An array of objects that contain the information about the resources included the specified resource share.
This is a convenience method that creates an instance of theResource.Builderavoiding the need to create one manually viaResource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#resources(List.) - Parameters:
resources- a consumer that will call methods onResource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resources(java.util.Collection)
-
nextToken
ListPendingInvitationResourcesResponse.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.
-
-