Interface AssumeQueueRoleForUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AssumeQueueRoleForUserResponse.Builder,,AssumeQueueRoleForUserResponse> DeadlineResponse.Builder,SdkBuilder<AssumeQueueRoleForUserResponse.Builder,,AssumeQueueRoleForUserResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssumeQueueRoleForUserResponse
public static interface AssumeQueueRoleForUserResponse.Builder
extends DeadlineResponse.Builder, SdkPojo, CopyableBuilder<AssumeQueueRoleForUserResponse.Builder,AssumeQueueRoleForUserResponse>
-
Method Summary
Modifier and TypeMethodDescriptioncredentials(Consumer<AwsCredentials.Builder> credentials) The credentials for the queue role that a user has access to.credentials(AwsCredentials credentials) The credentials for the queue role that a user has access to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
credentials
The credentials for the queue role that a user has access to.
- Parameters:
credentials- The credentials for the queue role that a user has access to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
default AssumeQueueRoleForUserResponse.Builder credentials(Consumer<AwsCredentials.Builder> credentials) The credentials for the queue role that a user has access to.
This is a convenience method that creates an instance of theAwsCredentials.Builderavoiding the need to create one manually viaAwsCredentials.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocredentials(AwsCredentials).- Parameters:
credentials- a consumer that will call methods onAwsCredentials.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-