public static interface TemporaryCredential.Builder extends CopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>
Modifier and Type | Method and Description |
---|---|
TemporaryCredential.Builder |
instanceId(String instanceId)
The instance's AWS OpsWorks Stacks ID.
|
TemporaryCredential.Builder |
password(String password)
The password.
|
TemporaryCredential.Builder |
username(String username)
The user name.
|
TemporaryCredential.Builder |
validForInMinutes(Integer validForInMinutes)
The length of time (in minutes) that the grant is valid.
|
copy
applyMutation, build
TemporaryCredential.Builder username(String username)
The user name.
username
- The user name.TemporaryCredential.Builder password(String password)
The password.
password
- The password.TemporaryCredential.Builder validForInMinutes(Integer validForInMinutes)
The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this period, the user will no longer be able to use the credentials to log in. If they are logged in at the time, they will be automatically logged out.
validForInMinutes
- The length of time (in minutes) that the grant is valid. When the grant expires, at the end of this
period, the user will no longer be able to use the credentials to log in. If they are logged in at the
time, they will be automatically logged out.TemporaryCredential.Builder instanceId(String instanceId)
The instance's AWS OpsWorks Stacks ID.
instanceId
- The instance's AWS OpsWorks Stacks ID.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.