@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetContentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetContentRequest() |
Modifier and Type | Method and Description |
---|---|
GetContentRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContentId()
The identifier of the content.
|
String |
getKnowledgeBaseId()
The identifier of the knowledge base.
|
int |
hashCode() |
void |
setContentId(String contentId)
The identifier of the content.
|
void |
setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
String |
toString()
Returns a string representation of this object.
|
GetContentRequest |
withContentId(String contentId)
The identifier of the content.
|
GetContentRequest |
withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setContentId(String contentId)
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId
- The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getContentId()
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
public GetContentRequest withContentId(String contentId)
The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.
contentId
- The identifier of the content. Can be either the ID or the ARN. URLs cannot contain the ARN.public void setKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be
either the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
public GetContentRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. This should not be a QUICK_RESPONSES type knowledge base. Can be
either the ID or the ARN. URLs cannot contain the ARN.public String toString()
toString
in class Object
Object.toString()
public GetContentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()