Interface TemporaryCredential.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TemporaryCredential.Builder,
,TemporaryCredential> SdkBuilder<TemporaryCredential.Builder,
,TemporaryCredential> SdkPojo
- Enclosing class:
TemporaryCredential
@Mutable
@NotThreadSafe
public static interface TemporaryCredential.Builder
extends SdkPojo, CopyableBuilder<TemporaryCredential.Builder,TemporaryCredential>
-
Method Summary
Modifier and TypeMethodDescriptioninstanceId
(String instanceId) The instance's OpsWorks Stacks ID.The password.The user name.validForInMinutes
(Integer validForInMinutes) The length of time (in minutes) that the grant is valid.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
username
The user name.
- Parameters:
username
- The user name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
The password.
- Parameters:
password
- The password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 are automatically logged out.
- Parameters:
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 are automatically logged out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
The instance's OpsWorks Stacks ID.
- Parameters:
instanceId
- The instance's OpsWorks Stacks ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-