Interface InstanceCredentials.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceCredentials.Builder,,InstanceCredentials> SdkBuilder<InstanceCredentials.Builder,,InstanceCredentials> SdkPojo
- Enclosing class:
InstanceCredentials
@Mutable
@NotThreadSafe
public static interface InstanceCredentials.Builder
extends SdkPojo, CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>
-
Method Summary
Modifier and TypeMethodDescriptionSecret string.A user name for logging in.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
-
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
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.
-