Interface DescribeDataSourcePermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDataSourcePermissionsResponse.Builder,,DescribeDataSourcePermissionsResponse> QuickSightResponse.Builder,SdkBuilder<DescribeDataSourcePermissionsResponse.Builder,,DescribeDataSourcePermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeDataSourcePermissionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeDataSourcePermissionsResponse.Builder
extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<DescribeDataSourcePermissionsResponse.Builder,DescribeDataSourcePermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondataSourceArn(String dataSourceArn) The Amazon Resource Name (ARN) of the data source.dataSourceId(String dataSourceId) The ID of the data source.permissions(Collection<ResourcePermission> permissions) A list of resource permissions on the data source.permissions(Consumer<ResourcePermission.Builder>... permissions) A list of resource permissions on the data source.permissions(ResourcePermission... permissions) A list of resource permissions on the data source.The Amazon Web Services request ID for this operation.The HTTP status of the request.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
-
dataSourceArn
The Amazon Resource Name (ARN) of the data source.
- Parameters:
dataSourceArn- The Amazon Resource Name (ARN) of the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSourceId
The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
- Parameters:
dataSourceId- The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeDataSourcePermissionsResponse.Builder permissions(Collection<ResourcePermission> permissions) A list of resource permissions on the data source.
- Parameters:
permissions- A list of resource permissions on the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
A list of resource permissions on the data source.
- Parameters:
permissions- A list of resource permissions on the data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeDataSourcePermissionsResponse.Builder permissions(Consumer<ResourcePermission.Builder>... permissions) A list of resource permissions on the data source.
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.
-
status
The HTTP status of the request.
- Parameters:
status- The HTTP status of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-