@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class APISchema extends Object implements Serializable, Cloneable, StructuredPojo
Contains details about the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
You can either include the schema directly in the payload
field or you can upload it to an S3 bucket and
specify the S3 bucket location in the s3
field.
Constructor and Description |
---|
APISchema() |
Modifier and Type | Method and Description |
---|---|
APISchema |
clone() |
boolean |
equals(Object obj) |
String |
getPayload()
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.
|
S3Identifier |
getS3()
Contains details about the S3 object containing the OpenAPI schema for the action group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPayload(String payload)
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.
|
void |
setS3(S3Identifier s3)
Contains details about the S3 object containing the OpenAPI schema for the action group.
|
String |
toString()
Returns a string representation of this object.
|
APISchema |
withPayload(String payload)
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group.
|
APISchema |
withS3(S3Identifier s3)
Contains details about the S3 object containing the OpenAPI schema for the action group.
|
public void setPayload(String payload)
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
payload
- The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information,
see Action group
OpenAPI schemas.public String getPayload()
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
public APISchema withPayload(String payload)
The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
payload
- The JSON or YAML-formatted payload defining the OpenAPI schema for the action group. For more information,
see Action group
OpenAPI schemas.public void setS3(S3Identifier s3)
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
s3
- Contains details about the S3 object containing the OpenAPI schema for the action group. For more
information, see Action group OpenAPI
schemas.public S3Identifier getS3()
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
public APISchema withS3(S3Identifier s3)
Contains details about the S3 object containing the OpenAPI schema for the action group. For more information, see Action group OpenAPI schemas.
s3
- Contains details about the S3 object containing the OpenAPI schema for the action group. For more
information, see Action group OpenAPI
schemas.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.