Interface ConnectionCredentials.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionCredentials.Builder,,ConnectionCredentials> SdkBuilder<ConnectionCredentials.Builder,,ConnectionCredentials> SdkPojo
- Enclosing class:
ConnectionCredentials
@Mutable
@NotThreadSafe
public static interface ConnectionCredentials.Builder
extends SdkPojo, CopyableBuilder<ConnectionCredentials.Builder,ConnectionCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionaccessKeyId(String accessKeyId) The access key ID of a connection.expiration(Instant expiration) The expiration of the connection credentials.secretAccessKey(String secretAccessKey) The secret access key of a connection.sessionToken(String sessionToken) The session token of a connection credentials.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
-
accessKeyId
The access key ID of a connection.
- Parameters:
accessKeyId- The access key ID of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expiration
The expiration of the connection credentials.
- Parameters:
expiration- The expiration of the connection credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretAccessKey
The secret access key of a connection.
- Parameters:
secretAccessKey- The secret access key of a connection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sessionToken
The session token of a connection credentials.
- Parameters:
sessionToken- The session token of a connection credentials.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-