@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLibraryItemRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateLibraryItemRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateLibraryItemRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAppId()
The unique identifier of the Amazon Q App to publish to the library.
|
Integer |
getAppVersion()
The version of the Amazon Q App to publish to the library.
|
List<String> |
getCategories()
The categories to associate with the library item for easier discovery.
|
String |
getInstanceId()
The unique identifier of the Amazon Q Business application environment instance.
|
int |
hashCode() |
void |
setAppId(String appId)
The unique identifier of the Amazon Q App to publish to the library.
|
void |
setAppVersion(Integer appVersion)
The version of the Amazon Q App to publish to the library.
|
void |
setCategories(Collection<String> categories)
The categories to associate with the library item for easier discovery.
|
void |
setInstanceId(String instanceId)
The unique identifier of the Amazon Q Business application environment instance.
|
String |
toString()
Returns a string representation of this object.
|
CreateLibraryItemRequest |
withAppId(String appId)
The unique identifier of the Amazon Q App to publish to the library.
|
CreateLibraryItemRequest |
withAppVersion(Integer appVersion)
The version of the Amazon Q App to publish to the library.
|
CreateLibraryItemRequest |
withCategories(Collection<String> categories)
The categories to associate with the library item for easier discovery.
|
CreateLibraryItemRequest |
withCategories(String... categories)
The categories to associate with the library item for easier discovery.
|
CreateLibraryItemRequest |
withInstanceId(String instanceId)
The unique identifier of the Amazon Q Business application environment instance.
|
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, withSdkRequestTimeoutpublic void setInstanceId(String instanceId)
The unique identifier of the Amazon Q Business application environment instance.
instanceId - The unique identifier of the Amazon Q Business application environment instance.public String getInstanceId()
The unique identifier of the Amazon Q Business application environment instance.
public CreateLibraryItemRequest withInstanceId(String instanceId)
The unique identifier of the Amazon Q Business application environment instance.
instanceId - The unique identifier of the Amazon Q Business application environment instance.public void setAppId(String appId)
The unique identifier of the Amazon Q App to publish to the library.
appId - The unique identifier of the Amazon Q App to publish to the library.public String getAppId()
The unique identifier of the Amazon Q App to publish to the library.
public CreateLibraryItemRequest withAppId(String appId)
The unique identifier of the Amazon Q App to publish to the library.
appId - The unique identifier of the Amazon Q App to publish to the library.public void setAppVersion(Integer appVersion)
The version of the Amazon Q App to publish to the library.
appVersion - The version of the Amazon Q App to publish to the library.public Integer getAppVersion()
The version of the Amazon Q App to publish to the library.
public CreateLibraryItemRequest withAppVersion(Integer appVersion)
The version of the Amazon Q App to publish to the library.
appVersion - The version of the Amazon Q App to publish to the library.public List<String> getCategories()
The categories to associate with the library item for easier discovery.
public void setCategories(Collection<String> categories)
The categories to associate with the library item for easier discovery.
categories - The categories to associate with the library item for easier discovery.public CreateLibraryItemRequest withCategories(String... categories)
The categories to associate with the library item for easier discovery.
NOTE: This method appends the values to the existing list (if any). Use
setCategories(java.util.Collection) or withCategories(java.util.Collection) if you want to
override the existing values.
categories - The categories to associate with the library item for easier discovery.public CreateLibraryItemRequest withCategories(Collection<String> categories)
The categories to associate with the library item for easier discovery.
categories - The categories to associate with the library item for easier discovery.public String toString()
toString in class ObjectObject.toString()public CreateLibraryItemRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()