StructuredPojo
, ToCopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>
@Generated("software.amazon.awssdk:codegen") public class TemporaryCredential extends Object implements StructuredPojo, 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 | Description |
---|---|---|
static interface |
TemporaryCredential.Builder |
Modifier and Type | Method | Description |
---|---|---|
static TemporaryCredential.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
instanceId() |
The instance's AWS OpsWorks Stacks ID.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
password() |
The password.
|
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.
|
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.