@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDocumentationVersionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
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 |
---|
GetDocumentationVersionResult() |
Modifier and Type | Method and Description |
---|---|
GetDocumentationVersionResult |
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 |
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.
|
GetDocumentationVersionResult |
withCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
|
GetDocumentationVersionResult |
withDescription(String description)
The description of the API documentation snapshot.
|
GetDocumentationVersionResult |
withVersion(String version)
The version identifier of the API documentation snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 GetDocumentationVersionResult 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 GetDocumentationVersionResult 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 GetDocumentationVersionResult 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 GetDocumentationVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.