@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateApiKeyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateApiKeyRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateApiKeyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getApiId()
The ID for the GraphQL API.
|
String |
getDescription()
A description of the purpose of the API key.
|
Long |
getExpires()
From the update time, the time after which the API key expires.
|
String |
getId()
The API key ID.
|
int |
hashCode() |
void |
setApiId(String apiId)
The ID for the GraphQL API.
|
void |
setDescription(String description)
A description of the purpose of the API key.
|
void |
setExpires(Long expires)
From the update time, the time after which the API key expires.
|
void |
setId(String id)
The API key ID.
|
String |
toString()
Returns a string representation of this object.
|
UpdateApiKeyRequest |
withApiId(String apiId)
The ID for the GraphQL API.
|
UpdateApiKeyRequest |
withDescription(String description)
A description of the purpose of the API key.
|
UpdateApiKeyRequest |
withExpires(Long expires)
From the update time, the time after which the API key expires.
|
UpdateApiKeyRequest |
withId(String id)
The API key ID.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setApiId(String apiId)
The ID for the GraphQL API.
apiId
- The ID for the GraphQL API.public String getApiId()
The ID for the GraphQL API.
public UpdateApiKeyRequest withApiId(String apiId)
The ID for the GraphQL API.
apiId
- The ID for the GraphQL API.public void setId(String id)
The API key ID.
id
- The API key ID.public String getId()
The API key ID.
public UpdateApiKeyRequest withId(String id)
The API key ID.
id
- The API key ID.public void setDescription(String description)
A description of the purpose of the API key.
description
- A description of the purpose of the API key.public String getDescription()
A description of the purpose of the API key.
public UpdateApiKeyRequest withDescription(String description)
A description of the purpose of the API key.
description
- A description of the purpose of the API key.public void setExpires(Long expires)
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
expires
- From the update time, the time after which the API key expires. The date is represented as seconds since
the epoch. For more information, see .public Long getExpires()
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
public UpdateApiKeyRequest withExpires(Long expires)
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
expires
- From the update time, the time after which the API key expires. The date is represented as seconds since
the epoch. For more information, see .public String toString()
toString
in class Object
Object.toString()
public UpdateApiKeyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()