Interface AssumeQueueRoleForUserResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<AssumeQueueRoleForUserResponse.Builder,
,AssumeQueueRoleForUserResponse> DeadlineResponse.Builder
,SdkBuilder<AssumeQueueRoleForUserResponse.Builder,
,AssumeQueueRoleForUserResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
AssumeQueueRoleForUserResponse
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineResponse.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
-
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.Builder
avoiding the need to create one manually viaAwsCredentials.builder()
.When the
Consumer
completes,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:
-