@Generated(value="software.amazon.awssdk:codegen") public final class UpdateKeyRequest extends LocationRequest implements ToCopyableBuilder<UpdateKeyRequest.Builder,UpdateKeyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateKeyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateKeyRequest.Builder |
builder() |
String |
description()
Updates the description for the API key resource.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Instant |
expireTime()
Updates the timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ. |
Boolean |
forceUpdate()
The boolean flag to be included for updating
ExpireTime or Restrictions details. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
keyName()
The name of the API key resource to update.
|
Boolean |
noExpiry()
Whether the API key should expire.
|
ApiKeyRestrictions |
restrictions()
Updates the API key restrictions for the API key resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateKeyRequest.Builder> |
serializableBuilderClass() |
UpdateKeyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String description()
Updates the description for the API key resource.
public final Instant expireTime()
Updates the timestamp for when the API key resource will expire in ISO 8601 format:
YYYY-MM-DDThh:mm:ss.sssZ.
YYYY-MM-DDThh:mm:ss.sssZ.public final Boolean forceUpdate()
The boolean flag to be included for updating ExpireTime or Restrictions details.
Must be set to true to update an API key resource that has been used in the past 7 days.
False if force update is not preferred
Default value: False
ExpireTime or Restrictions
details.
Must be set to true to update an API key resource that has been used in the past 7 days.
False if force update is not preferred
Default value: False
public final String keyName()
The name of the API key resource to update.
public final Boolean noExpiry()
Whether the API key should expire. Set to true to set the API key to have no expiration time.
true to set the API key to have no expiration
time.public final ApiKeyRestrictions restrictions()
Updates the API key restrictions for the API key resource.
public UpdateKeyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateKeyRequest.Builder,UpdateKeyRequest>toBuilder in class LocationRequestpublic static UpdateKeyRequest.Builder builder()
public static Class<? extends UpdateKeyRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.