@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentationVersion extends Object implements Serializable, Cloneable, StructuredPojo
A snapshot of the documentation of an API.
Publishing API documentation involves creating a documentation version associated with an API stage and exporting the versioned documentation to an external (e.g., Swagger) file.
Constructor and Description |
---|
DocumentationVersion() |
Modifier and Type | Method and Description |
---|---|
DocumentationVersion |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedDate()
The date when the API documentation snapshot is created.
|
String |
getDescription()
The description of the API documentation snapshot.
|
String |
getVersion()
The version identifier of the API documentation snapshot.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
|
void |
setDescription(String description)
The description of the API documentation snapshot.
|
void |
setVersion(String version)
The version identifier of the API documentation snapshot.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DocumentationVersion |
withCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
|
DocumentationVersion |
withDescription(String description)
The description of the API documentation snapshot.
|
DocumentationVersion |
withVersion(String version)
The version identifier of the API documentation snapshot.
|
public void setVersion(String version)
The version identifier of the API documentation snapshot.
version
- The version identifier of the API documentation snapshot.public String getVersion()
The version identifier of the API documentation snapshot.
public DocumentationVersion withVersion(String version)
The version identifier of the API documentation snapshot.
version
- The version identifier of the API documentation snapshot.public void setCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
createdDate
- The date when the API documentation snapshot is created.public Date getCreatedDate()
The date when the API documentation snapshot is created.
public DocumentationVersion withCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
createdDate
- The date when the API documentation snapshot is created.public void setDescription(String description)
The description of the API documentation snapshot.
description
- The description of the API documentation snapshot.public String getDescription()
The description of the API documentation snapshot.
public DocumentationVersion withDescription(String description)
The description of the API documentation snapshot.
description
- The description of the API documentation snapshot.public String toString()
toString
in class Object
Object.toString()
public DocumentationVersion clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.