Interface InstanceCredentials.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>,SdkBuilder<InstanceCredentials.Builder,InstanceCredentials>,SdkPojo
- Enclosing class:
- InstanceCredentials
public static interface InstanceCredentials.Builder extends SdkPojo, CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InstanceCredentials.Buildersecret(String secret)Secret string.InstanceCredentials.BuilderuserName(String userName)A user name for logging in.-
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, sdkFields
-
-
-
-
Method Detail
-
userName
InstanceCredentials.Builder userName(String userName)
A user name for logging in.
- Parameters:
userName- A user name for logging in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secret
InstanceCredentials.Builder secret(String secret)
Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it's a private key for use with SSH.
- Parameters:
secret- Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop. For Linux instances, it's a private key for use with SSH.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-