Interface DescribeQAppPermissionsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeQAppPermissionsResponse.Builder,DescribeQAppPermissionsResponse>,QAppsResponse.Builder,SdkBuilder<DescribeQAppPermissionsResponse.Builder,DescribeQAppPermissionsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeQAppPermissionsResponse
public static interface DescribeQAppPermissionsResponse.Builder extends QAppsResponse.Builder, SdkPojo, CopyableBuilder<DescribeQAppPermissionsResponse.Builder,DescribeQAppPermissionsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeQAppPermissionsResponse.BuilderappId(String appId)The unique identifier of the Amazon Q App for which permissions are returned.DescribeQAppPermissionsResponse.Builderpermissions(Collection<PermissionOutput> permissions)The list of permissions granted for the Amazon Q App.DescribeQAppPermissionsResponse.Builderpermissions(Consumer<PermissionOutput.Builder>... permissions)The list of permissions granted for the Amazon Q App.DescribeQAppPermissionsResponse.Builderpermissions(PermissionOutput... permissions)The list of permissions granted for the Amazon Q App.DescribeQAppPermissionsResponse.BuilderresourceArn(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
copy
-
Methods inherited from interface software.amazon.awssdk.services.qapps.model.QAppsResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
resourceArn
DescribeQAppPermissionsResponse.Builder resourceArn(String 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
DescribeQAppPermissionsResponse.Builder appId(String 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
DescribeQAppPermissionsResponse.Builder permissions(Collection<PermissionOutput> 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(PermissionOutput... 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 to#permissions(List.) - 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:
#permissions(java.util.Collection)
-
-