StructuredPojo
, ToCopyableBuilder<RestApi.Builder,RestApi>
@Generated("software.amazon.awssdk:codegen") public class RestApi extends Object implements StructuredPojo, ToCopyableBuilder<RestApi.Builder,RestApi>
Represents a REST API.
Modifier and Type | Class | Description |
---|---|---|
static interface |
RestApi.Builder |
Modifier and Type | Method | Description |
---|---|---|
List<String> |
binaryMediaTypes() |
The list of binary media types supported by the RestApi.
|
static RestApi.Builder |
builder() |
|
Date |
createdDate() |
The timestamp when the API was created.
|
String |
description() |
The API's description.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The API's identifier.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The API's name.
|
static Class<? extends RestApi.Builder> |
serializableBuilderClass() |
|
RestApi.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
version() |
A version identifier for the API.
|
List<String> |
warnings() |
The warning messages reported when
failonwarnings is turned on during API import. |
public String id()
The API's identifier. This identifier is unique across all of your APIs in Amazon API Gateway.
public String name()
The API's name.
public String description()
The API's description.
public Date createdDate()
The timestamp when the API was created.
public String version()
A version identifier for the API.
public List<String> warnings()
The warning messages reported when failonwarnings
is turned on during API import.
failonwarnings
is turned on during API import.public RestApi.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RestApi.Builder,RestApi>
public static RestApi.Builder builder()
public static Class<? extends RestApi.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.