@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteContentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteContentRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteContentRequest |
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.
|
DeleteContentRequest |
withContentId(String contentId)
The identifier of the content.
|
DeleteContentRequest |
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 DeleteContentRequest 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. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.public String getKnowledgeBaseId()
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
public DeleteContentRequest withKnowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
knowledgeBaseId
- The identifier of the 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 DeleteContentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()