@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDocumentationVersionResult 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 |
---|
CreateDocumentationVersionResult() |
Modifier and Type | Method and Description |
---|---|
CreateDocumentationVersionResult |
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.
|
CreateDocumentationVersionResult |
withCreatedDate(Date createdDate)
The date when the API documentation snapshot is created.
|
CreateDocumentationVersionResult |
withDescription(String description)
The description of the API documentation snapshot.
|
CreateDocumentationVersionResult |
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 CreateDocumentationVersionResult 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 CreateDocumentationVersionResult 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 CreateDocumentationVersionResult 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 CreateDocumentationVersionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.