Class GrantAccessRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.opsworks.model.OpsWorksRequest
-
- software.amazon.awssdk.services.opsworks.model.GrantAccessRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
@Generated("software.amazon.awssdk:codegen") public final class GrantAccessRequest extends OpsWorksRequest implements ToCopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGrantAccessRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GrantAccessRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceId()The instance's AWS OpsWorks Stacks ID.List<SdkField<?>>sdkFields()static Class<? extends GrantAccessRequest.Builder>serializableBuilderClass()GrantAccessRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegervalidForInMinutes()The length of time (in minutes) that the grant is valid.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
instanceId
public final String instanceId()
The instance's AWS OpsWorks Stacks ID.
- Returns:
- The instance's AWS OpsWorks Stacks ID.
-
validForInMinutes
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 the user is logged in at the time, he or she automatically will be logged out.
- Returns:
- 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 the user is logged in at the time, he or she automatically will be logged out.
-
toBuilder
public GrantAccessRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GrantAccessRequest.Builder,GrantAccessRequest>- Specified by:
toBuilderin classOpsWorksRequest
-
builder
public static GrantAccessRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GrantAccessRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-