public static interface InstanceCredentials.Builder extends CopyableBuilder<InstanceCredentials.Builder,InstanceCredentials>
Modifier and Type | Method and Description |
---|---|
InstanceCredentials.Builder |
secret(String secret)
Secret string.
|
InstanceCredentials.Builder |
userName(String userName)
User login string.
|
copy
apply, build
InstanceCredentials.Builder userName(String userName)
User login string.
userName
- User login string.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 is a private key (which must be saved as a .pem
file) for use with SSH.
secret
- Secret string. For Windows instances, the secret is a password for use with Windows Remote Desktop.
For Linux instances, it is a private key (which must be saved as a .pem
file) for use
with SSH.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.