@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateResourceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateResourceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateResourceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
The name of the new resource.
|
String |
getOrganizationId()
The identifier associated with the organization for which the resource is created.
|
String |
getType()
The type of the new resource.
|
int |
hashCode() |
void |
setName(String name)
The name of the new resource.
|
void |
setOrganizationId(String organizationId)
The identifier associated with the organization for which the resource is created.
|
void |
setType(String type)
The type of the new resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateResourceRequest |
withName(String name)
The name of the new resource.
|
CreateResourceRequest |
withOrganizationId(String organizationId)
The identifier associated with the organization for which the resource is created.
|
CreateResourceRequest |
withType(ResourceType type)
The type of the new resource.
|
CreateResourceRequest |
withType(String type)
The type of the new 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 setOrganizationId(String organizationId)
The identifier associated with the organization for which the resource is created.
organizationId
- The identifier associated with the organization for which the resource is created.public String getOrganizationId()
The identifier associated with the organization for which the resource is created.
public CreateResourceRequest withOrganizationId(String organizationId)
The identifier associated with the organization for which the resource is created.
organizationId
- The identifier associated with the organization for which the resource is created.public void setName(String name)
The name of the new resource.
name
- The name of the new resource.public String getName()
The name of the new resource.
public CreateResourceRequest withName(String name)
The name of the new resource.
name
- The name of the new resource.public void setType(String type)
The type of the new resource. The available types are equipment
and room
.
type
- The type of the new resource. The available types are equipment
and room
.ResourceType
public String getType()
The type of the new resource. The available types are equipment
and room
.
equipment
and room
.ResourceType
public CreateResourceRequest withType(String type)
The type of the new resource. The available types are equipment
and room
.
type
- The type of the new resource. The available types are equipment
and room
.ResourceType
public CreateResourceRequest withType(ResourceType type)
The type of the new resource. The available types are equipment
and room
.
type
- The type of the new resource. The available types are equipment
and room
.ResourceType
public String toString()
toString
in class Object
Object.toString()
public CreateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()