Interface DescribeSpacePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeSpacePermissionsResponse.Builder,,DescribeSpacePermissionsResponse> QuickSightResponse.Builder,SdkBuilder<DescribeSpacePermissionsResponse.Builder,,DescribeSpacePermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeSpacePermissionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeSpacePermissionsResponse.Builder
extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<DescribeSpacePermissionsResponse.Builder,DescribeSpacePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionpermissions(Collection<ResourcePermission> permissions) A list of resource permissions for the space.permissions(Consumer<ResourcePermission.Builder>... permissions) A list of resource permissions for the space.permissions(ResourcePermission... permissions) A list of resource permissions for the space.The Amazon Web Services request ID for this operation.The ARN of the space.The ID of the space.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
spaceId
The ID of the space.
- Parameters:
spaceId- The ID of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spaceArn
The ARN of the space.
- Parameters:
spaceArn- The ARN of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A list of resource permissions for the space.
- Parameters:
permissions- A list of resource permissions for the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A list of resource permissions for the space.
- Parameters:
permissions- A list of resource permissions for the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeSpacePermissionsResponse.Builder permissions(Consumer<ResourcePermission.Builder>... permissions) A list of resource permissions for the space.
This is a convenience method that creates an instance of theResourcePermission.Builderavoiding the need to create one manually viaResourcePermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissions(List<ResourcePermission>).- Parameters:
permissions- a consumer that will call methods onResourcePermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestId
The Amazon Web Services request ID for this operation.
- Parameters:
requestId- The Amazon Web Services request ID for this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-