Interface UpdateAgentPermissionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateAgentPermissionsResponse.Builder,,UpdateAgentPermissionsResponse> QuickSightResponse.Builder,SdkBuilder<UpdateAgentPermissionsResponse.Builder,,UpdateAgentPermissionsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateAgentPermissionsResponse
@Mutable
@NotThreadSafe
public static interface UpdateAgentPermissionsResponse.Builder
extends QuickSightResponse.Builder, SdkPojo, CopyableBuilder<UpdateAgentPermissionsResponse.Builder,UpdateAgentPermissionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier for the agent.The Amazon Resource Name (ARN) of the agent.permissions(Collection<ResourcePermission> permissions) The resource permissions for the agent.permissions(Consumer<ResourcePermission.Builder>... permissions) The resource permissions for the agent.permissions(ResourcePermission... permissions) The resource permissions for the agent.The Amazon Web Services request ID for this operation.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
-
arn
The Amazon Resource Name (ARN) of the agent.
- Parameters:
arn- The Amazon Resource Name (ARN) of the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentId
The unique identifier for the agent.
- Parameters:
agentId- The unique identifier for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
permissions
The resource permissions for the agent.
- Parameters:
permissions- The resource permissions for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
The resource permissions for the agent.
- Parameters:
permissions- The resource permissions for the agent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
UpdateAgentPermissionsResponse.Builder permissions(Consumer<ResourcePermission.Builder>... permissions) The resource permissions for the agent.
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:
-