@Generated(value="software.amazon.awssdk:codegen") public final class TemporaryCredential extends Object implements SdkPojo, Serializable, ToCopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>
Contains the data needed by RDP clients such as the Microsoft Remote Desktop Connection to log in to the instance.
Modifier and Type | Class and Description |
---|---|
static interface |
TemporaryCredential.Builder |
Modifier and Type | Method and Description |
---|---|
static TemporaryCredential.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
instanceId()
The instance's AWS OpsWorks Stacks ID.
|
String |
password()
The password.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends TemporaryCredential.Builder> |
serializableBuilderClass() |
TemporaryCredential.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
username()
The user name.
|
Integer |
validForInMinutes()
The length of time (in minutes) that the grant is valid.
|
copy
public String username()
The user name.
public String password()
The password.
public 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.
public String instanceId()
The instance's AWS OpsWorks Stacks ID.
public TemporaryCredential.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>
public static TemporaryCredential.Builder builder()
public static Class<? extends TemporaryCredential.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.