@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
String |
username()
The user name.
|
Integer |
validForInMinutes()
The length of time (in minutes) that the grant is valid.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String username()
The user name.
public final String password()
The password.
public final 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 final String instanceId()
The instance's AWS OpsWorks Stacks ID.
public TemporaryCredential.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>public static TemporaryCredential.Builder builder()
public static Class<? extends TemporaryCredential.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.