Interface ConnectionCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ConnectionCredentials.Builder,ConnectionCredentials>,SdkBuilder<ConnectionCredentials.Builder,ConnectionCredentials>,SdkPojo
- Enclosing class:
- ConnectionCredentials
public static interface ConnectionCredentials.Builder extends SdkPojo, CopyableBuilder<ConnectionCredentials.Builder,ConnectionCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionCredentials.BuilderaccessKeyId(String accessKeyId)The access key ID of a connection.ConnectionCredentials.Builderexpiration(Instant expiration)The expiration of the connection credentials.ConnectionCredentials.BuildersecretAccessKey(String secretAccessKey)The secret access key of a connection.ConnectionCredentials.BuildersessionToken(String sessionToken)The session token of a connection credentials.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accessKeyId
ConnectionCredentials.Builder accessKeyId(String 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
ConnectionCredentials.Builder expiration(Instant 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
ConnectionCredentials.Builder secretAccessKey(String 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
ConnectionCredentials.Builder sessionToken(String 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.
-
-