Interface JwtAuth.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JwtAuth.Builder,,JwtAuth> SdkBuilder<JwtAuth.Builder,,JwtAuth> SdkPojo
- Enclosing class:
JwtAuth
@Mutable
@NotThreadSafe
public static interface JwtAuth.Builder
extends SdkPojo, CopyableBuilder<JwtAuth.Builder,JwtAuth>
-
Method Summary
Modifier and TypeMethodDescriptiondefault JwtAuth.BuilderjwtKey(Consumer<JwtKey.Builder> jwtKey) The JWT key for Slurm REST API authentication.The JWT key for Slurm REST API authentication.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
jwtKey
The JWT key for Slurm REST API authentication.
- Parameters:
jwtKey- The JWT key for Slurm REST API authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jwtKey
The JWT key for Slurm REST API authentication.
This is a convenience method that creates an instance of theJwtKey.Builderavoiding the need to create one manually viaJwtKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojwtKey(JwtKey).- Parameters:
jwtKey- a consumer that will call methods onJwtKey.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-