Interface ListResourceSharePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListResourceSharePermissionsResponse.Builder,
,ListResourceSharePermissionsResponse> RamResponse.Builder
,SdkBuilder<ListResourceSharePermissionsResponse.Builder,
,ListResourceSharePermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListResourceSharePermissionsResponse
public static interface ListResourceSharePermissionsResponse.Builder
extends RamResponse.Builder, SdkPojo, CopyableBuilder<ListResourceSharePermissionsResponse.Builder,ListResourceSharePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionIf present, this value indicates that more output is available than is included in the current response.permissions
(Collection<ResourceSharePermissionSummary> permissions) An array of objects that describe the permissions associated with the resource share.permissions
(Consumer<ResourceSharePermissionSummary.Builder>... permissions) An array of objects that describe the permissions associated with the resource share.permissions
(ResourceSharePermissionSummary... permissions) An array of objects that describe the permissions associated with the 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 Details
-
permissions
ListResourceSharePermissionsResponse.Builder permissions(Collection<ResourceSharePermissionSummary> permissions) An array of objects that describe the permissions associated with the resource share.
- Parameters:
permissions
- An array of objects that describe the permissions associated with the resource share.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
ListResourceSharePermissionsResponse.Builder permissions(Consumer<ResourceSharePermissionSummary.Builder>... permissions) An array of objects that describe the permissions associated with the resource share.
This is a convenience method that creates an instance of theResourceSharePermissionSummary.Builder
avoiding the need to create one manually viaResourceSharePermissionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topermissions(List<ResourceSharePermissionSummary>)
.- Parameters:
permissions
- a consumer that will call methods onResourceSharePermissionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If present, this value indicates that more output is available than is included in the current response. Use this value in the
NextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response 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 theNextToken
request parameter in a subsequent call to the operation to get the next part of the output. You should repeat this until theNextToken
response 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.
-