@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateViewRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateViewRequest() |
Modifier and Type | Method and Description |
---|---|
CreateViewRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateViewRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateViewRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
A unique Id for each create view request to avoid duplicate view creation.
|
ViewInputContent |
getContent()
View content containing all content necessary to render a view except for runtime input data.
|
String |
getDescription()
The description of the view.
|
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the view.
|
String |
getStatus()
Indicates the view status as either
SAVED or PUBLISHED . |
Map<String,String> |
getTags()
The tags associated with the view resource (not specific to view version).These tags can be used to organize,
track, or control access for this resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
A unique Id for each create view request to avoid duplicate view creation.
|
void |
setContent(ViewInputContent content)
View content containing all content necessary to render a view except for runtime input data.
|
void |
setDescription(String description)
The description of the view.
|
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the view.
|
void |
setStatus(String status)
Indicates the view status as either
SAVED or PUBLISHED . |
void |
setTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).These tags can be used to organize,
track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateViewRequest |
withClientToken(String clientToken)
A unique Id for each create view request to avoid duplicate view creation.
|
CreateViewRequest |
withContent(ViewInputContent content)
View content containing all content necessary to render a view except for runtime input data.
|
CreateViewRequest |
withDescription(String description)
The description of the view.
|
CreateViewRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateViewRequest |
withName(String name)
The name of the view.
|
CreateViewRequest |
withStatus(String status)
Indicates the view status as either
SAVED or PUBLISHED . |
CreateViewRequest |
withStatus(ViewStatus status)
Indicates the view status as either
SAVED or PUBLISHED . |
CreateViewRequest |
withTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).These tags can be used to organize,
track, or control access for this resource.
|
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 setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
public CreateViewRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.public void setClientToken(String clientToken)
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
clientToken
- A unique Id for each create view request to avoid duplicate view creation. For example, the view is
idempotent ClientToken is provided.public String getClientToken()
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
public CreateViewRequest withClientToken(String clientToken)
A unique Id for each create view request to avoid duplicate view creation. For example, the view is idempotent ClientToken is provided.
clientToken
- A unique Id for each create view request to avoid duplicate view creation. For example, the view is
idempotent ClientToken is provided.public void setStatus(String status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public String getStatus()
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public CreateViewRequest withStatus(String status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public CreateViewRequest withStatus(ViewStatus status)
Indicates the view status as either SAVED
or PUBLISHED
. The PUBLISHED
status will initiate validation on the content.
status
- Indicates the view status as either SAVED
or PUBLISHED
. The
PUBLISHED
status will initiate validation on the content.ViewStatus
public void setContent(ViewInputContent content)
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
content
- View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
public ViewInputContent getContent()
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
The total uncompressed content has a maximum file size of 400kB.
public CreateViewRequest withContent(ViewInputContent content)
View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
content
- View content containing all content necessary to render a view except for runtime input data.
The total uncompressed content has a maximum file size of 400kB.
public void setDescription(String description)
The description of the view.
description
- The description of the view.public String getDescription()
The description of the view.
public CreateViewRequest withDescription(String description)
The description of the view.
description
- The description of the view.public void setName(String name)
The name of the view.
name
- The name of the view.public String getName()
The name of the view.
public CreateViewRequest withName(String name)
The name of the view.
name
- The name of the view.public Map<String,String> getTags()
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
public void setTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags associated with the view resource (not specific to view version).These tags can be used to
organize, track, or control access for this resource. For example, { "tags": {"key1":"value1",
"key2":"value2"} }.public CreateViewRequest withTags(Map<String,String> tags)
The tags associated with the view resource (not specific to view version).These tags can be used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags associated with the view resource (not specific to view version).These tags can be used to
organize, track, or control access for this resource. For example, { "tags": {"key1":"value1",
"key2":"value2"} }.public CreateViewRequest addTagsEntry(String key, String value)
public CreateViewRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateViewRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()