public class CreateUserHierarchyGroupRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a new user hierarchy group.
Constructor and Description |
---|
CreateUserHierarchyGroupRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInstanceId()
The identifier of the Amazon Connect instance.
|
java.lang.String |
getName()
The name of the user hierarchy group.
|
java.lang.String |
getParentGroupId()
The identifier for the parent hierarchy group.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
void |
setName(java.lang.String name)
The name of the user hierarchy group.
|
void |
setParentGroupId(java.lang.String parentGroupId)
The identifier for the parent hierarchy group.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateUserHierarchyGroupRequest |
withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
|
CreateUserHierarchyGroupRequest |
withName(java.lang.String name)
The name of the user hierarchy group.
|
CreateUserHierarchyGroupRequest |
withParentGroupId(java.lang.String parentGroupId)
The identifier for the parent hierarchy group.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getName()
The name of the user hierarchy group. Must not be more than 100 characters.
The name of the user hierarchy group. Must not be more than 100 characters.
public void setName(java.lang.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 CreateUserHierarchyGroupRequest withName(java.lang.String name)
The name of the user hierarchy group. Must not be more than 100 characters.
Returns a reference to this object so that method calls can be chained together.
name
- The name of the user hierarchy group. Must not be more than 100 characters.
public java.lang.String getParentGroupId()
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
public void setParentGroupId(java.lang.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 CreateUserHierarchyGroupRequest withParentGroupId(java.lang.String parentGroupId)
The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
Returns a reference to this object so that method calls can be chained together.
parentGroupId
- The identifier for the parent hierarchy group. The user hierarchy is created at level one if the parent group ID is null.
public java.lang.String getInstanceId()
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
The identifier of the Amazon Connect instance.
public void setInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public CreateUserHierarchyGroupRequest withInstanceId(java.lang.String instanceId)
The identifier of the Amazon Connect instance.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
instanceId
- The identifier of the Amazon Connect instance.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.