Interface UpdateQAppPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<UpdateQAppPermissionsResponse.Builder,
,UpdateQAppPermissionsResponse> QAppsResponse.Builder
,SdkBuilder<UpdateQAppPermissionsResponse.Builder,
,UpdateQAppPermissionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
UpdateQAppPermissionsResponse
@Mutable
@NotThreadSafe
public static interface UpdateQAppPermissionsResponse.Builder
extends QAppsResponse.Builder, SdkPojo, CopyableBuilder<UpdateQAppPermissionsResponse.Builder,UpdateQAppPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the Amazon Q App for which permissions were updated.permissions
(Collection<PermissionOutput> permissions) The updated list of permissions for the Amazon Q App.permissions
(Consumer<PermissionOutput.Builder>... permissions) The updated list of permissions for the Amazon Q App.permissions
(PermissionOutput... permissions) The updated list of permissions for the Amazon Q App.resourceArn
(String resourceArn) The Amazon Resource Name (ARN) of the Amazon Q App for which permissions were updated.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 Details
-
resourceArn
The Amazon Resource Name (ARN) of the Amazon Q App for which permissions were updated.
- Parameters:
resourceArn
- The Amazon Resource Name (ARN) of the Amazon Q App for which permissions were updated.- 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 were updated.
- Parameters:
appId
- The unique identifier of the Amazon Q App for which permissions were updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The updated list of permissions for the Amazon Q App.
- Parameters:
permissions
- The updated list of permissions for the Amazon Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The updated list of permissions for the Amazon Q App.
- Parameters:
permissions
- The updated list of permissions for the Amazon Q App.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
UpdateQAppPermissionsResponse.Builder permissions(Consumer<PermissionOutput.Builder>... permissions) The updated list of permissions for the Amazon Q App.
This is a convenience method that creates an instance of thePermissionOutput.Builder
avoiding the need to create one manually viaPermissionOutput.builder()
.When the
Consumer
completes,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:
-