@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 created resource.
|
String |
getOrganizationId()
The identifier associated with the organization for which the resource is created.
|
String |
getType()
The type of the created resource.
|
int |
hashCode() |
void |
setName(String name)
The name of the created 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 created resource.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateResourceRequest |
withName(String name)
The name of the created 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 created resource.
|
CreateResourceRequest |
withType(String type)
The type of the created 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 created resource.
name
- The name of the created resource.public String getName()
The name of the created resource.
public CreateResourceRequest withName(String name)
The name of the created resource.
name
- The name of the created resource.public void setType(String type)
The type of the created resource.
type
- The type of the created resource.ResourceType
public String getType()
The type of the created resource.
ResourceType
public CreateResourceRequest withType(String type)
The type of the created resource.
type
- The type of the created resource.ResourceType
public CreateResourceRequest withType(ResourceType type)
The type of the created resource.
type
- The type of the created resource.ResourceType
public String toString()
toString
in class Object
Object.toString()
public CreateResourceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.