@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateUserHierarchyGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateUserHierarchyGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateUserHierarchyGroupRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateUserHierarchyGroupRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateUserHierarchyGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
String |
getName()
The name of the user hierarchy group.
|
String |
getParentGroupId()
The identifier for the parent hierarchy group.
|
Map<String,String> |
getTags()
The tags used to organize, track, or control access for this resource.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(String name)
The name of the user hierarchy group.
|
void |
setParentGroupId(String parentGroupId)
The identifier for the parent hierarchy group.
|
void |
setTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateUserHierarchyGroupRequest |
withInstanceId(String instanceId)
The identifier of the Amazon Connect instance.
|
CreateUserHierarchyGroupRequest |
withName(String name)
The name of the user hierarchy group.
|
CreateUserHierarchyGroupRequest |
withParentGroupId(String parentGroupId)
The identifier for the parent hierarchy group.
|
CreateUserHierarchyGroupRequest |
withTags(Map<String,String> tags)
The tags 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 setName(String name)
The name of the user hierarchy group. Must not be more than 100 characters.
name
- The name of the user hierarchy group. Must not be more than 100 characters.public String getName()
The name of the user hierarchy group. Must not be more than 100 characters.
public CreateUserHierarchyGroupRequest withName(String name)
The name of the user hierarchy group. Must not be more than 100 characters.
name
- The name of the user hierarchy group. Must not be more than 100 characters.public void setParentGroupId(String parentGroupId)
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
parentGroupId
- The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent
group ID is null.public String getParentGroupId()
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
public CreateUserHierarchyGroupRequest withParentGroupId(String parentGroupId)
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
parentGroupId
- The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent
group ID is null.public void setInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public String getInstanceId()
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
public CreateUserHierarchyGroupRequest withInstanceId(String instanceId)
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
instanceId
- The identifier of the Amazon Connect instance. You can find the instance
ID in the Amazon Resource Name (ARN) of the instance.public Map<String,String> getTags()
The tags 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 used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreateUserHierarchyGroupRequest withTags(Map<String,String> tags)
The tags used to organize, track, or control access for this resource. For example, { "Tags": {"key1":"value1", "key2":"value2"} }.
tags
- The tags used to organize, track, or control access for this resource. For example, { "Tags":
{"key1":"value1", "key2":"value2"} }.public CreateUserHierarchyGroupRequest addTagsEntry(String key, String value)
public CreateUserHierarchyGroupRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateUserHierarchyGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()