@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSpaceRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSpaceRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSpaceRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDomainId()
The ID of the associated Domain.
|
String |
getSpaceName()
The name of the space.
|
SpaceSettings |
getSpaceSettings()
A collection of space settings.
|
List<Tag> |
getTags()
Tags to associated with the space.
|
int |
hashCode() |
void |
setDomainId(String domainId)
The ID of the associated Domain.
|
void |
setSpaceName(String spaceName)
The name of the space.
|
void |
setSpaceSettings(SpaceSettings spaceSettings)
A collection of space settings.
|
void |
setTags(Collection<Tag> tags)
Tags to associated with the space.
|
String |
toString()
Returns a string representation of this object.
|
CreateSpaceRequest |
withDomainId(String domainId)
The ID of the associated Domain.
|
CreateSpaceRequest |
withSpaceName(String spaceName)
The name of the space.
|
CreateSpaceRequest |
withSpaceSettings(SpaceSettings spaceSettings)
A collection of space settings.
|
CreateSpaceRequest |
withTags(Collection<Tag> tags)
Tags to associated with the space.
|
CreateSpaceRequest |
withTags(Tag... tags)
Tags to associated with the space.
|
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 setDomainId(String domainId)
The ID of the associated Domain.
domainId
- The ID of the associated Domain.public String getDomainId()
The ID of the associated Domain.
public CreateSpaceRequest withDomainId(String domainId)
The ID of the associated Domain.
domainId
- The ID of the associated Domain.public void setSpaceName(String spaceName)
The name of the space.
spaceName
- The name of the space.public String getSpaceName()
The name of the space.
public CreateSpaceRequest withSpaceName(String spaceName)
The name of the space.
spaceName
- The name of the space.public List<Tag> getTags()
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for
each resource. Tags are searchable using the Search
API.
Search
API.public void setTags(Collection<Tag> tags)
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for
each resource. Tags are searchable using the Search
API.
tags
- Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be
unique for each resource. Tags are searchable using the Search
API.public CreateSpaceRequest withTags(Tag... tags)
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for
each resource. Tags are searchable using the Search
API.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be
unique for each resource. Tags are searchable using the Search
API.public CreateSpaceRequest withTags(Collection<Tag> tags)
Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be unique for
each resource. Tags are searchable using the Search
API.
tags
- Tags to associated with the space. Each tag consists of a key and an optional value. Tag keys must be
unique for each resource. Tags are searchable using the Search
API.public void setSpaceSettings(SpaceSettings spaceSettings)
A collection of space settings.
spaceSettings
- A collection of space settings.public SpaceSettings getSpaceSettings()
A collection of space settings.
public CreateSpaceRequest withSpaceSettings(SpaceSettings spaceSettings)
A collection of space settings.
spaceSettings
- A collection of space settings.public String toString()
toString
in class Object
Object.toString()
public CreateSpaceRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()