Interface DescribeQAppPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeQAppPermissionsResponse.Builder,,DescribeQAppPermissionsResponse> QAppsResponse.Builder,SdkBuilder<DescribeQAppPermissionsResponse.Builder,,DescribeQAppPermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeQAppPermissionsResponse
@Mutable
@NotThreadSafe
public static interface DescribeQAppPermissionsResponse.Builder
extends QAppsResponse.Builder, SdkPojo, CopyableBuilder<DescribeQAppPermissionsResponse.Builder,DescribeQAppPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Amazon Q App for which permissions are returned.permissions(Collection<PermissionOutput> permissions) The list of permissions granted for the Amazon Q App.permissions(Consumer<PermissionOutput.Builder>... permissions) The list of permissions granted for the Amazon Q App.permissions(PermissionOutput... permissions) The list of permissions granted for the Amazon Q App.resourceArn(String resourceArn) The Amazon Resource Name (ARN) of the Amazon Q App for which permissions are returned.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsResponse.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
-
resourceArn
The Amazon Resource Name (ARN) of the Amazon Q App for which permissions are returned.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) of the Amazon Q App for which permissions are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
appId
The unique identifier of the Amazon Q App for which permissions are returned.
- Parameters:
appId- The unique identifier of the Amazon Q App for which permissions are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The list of permissions granted for the Amazon Q App.
- Parameters:
permissions- The list of permissions granted for the Amazon Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The list of permissions granted for the Amazon Q App.
- Parameters:
permissions- The list of permissions granted for the Amazon Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
DescribeQAppPermissionsResponse.Builder permissions(Consumer<PermissionOutput.Builder>... permissions) The list of permissions granted for the Amazon Q App.
This is a convenience method that creates an instance of thePermissionOutput.Builderavoiding the need to create one manually viaPermissionOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissions(List<PermissionOutput>).- Parameters:
permissions- a consumer that will call methods onPermissionOutput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-