@Generated(value="software.amazon.awssdk:codegen") public class ApiKey extends Object implements StructuredPojo, ToCopyableBuilder<ApiKey.Builder,ApiKey>
Describes an API key.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApiKey.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ApiKey.Builder |
builder() |
String |
description()
A description of the purpose of the API key.
|
boolean |
equals(Object obj) |
Long |
expires()
The time when the API key expires.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The API key ID.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends ApiKey.Builder> |
serializableBuilderClass() |
ApiKey.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String id()
The API key ID.
public String description()
A description of the purpose of the API key.
public Long expires()
The time when the API key expires.
public ApiKey.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ApiKey.Builder,ApiKey>public static ApiKey.Builder builder()
public static Class<? extends ApiKey.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.