@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateHubRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateHubRequest() |
Modifier and Type | Method and Description |
---|---|
CreateHubRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getHubDescription()
A description of the hub.
|
String |
getHubDisplayName()
The display name of the hub.
|
String |
getHubName()
The name of the hub to create.
|
List<String> |
getHubSearchKeywords()
The searchable keywords for the hub.
|
HubS3StorageConfig |
getS3StorageConfig()
The Amazon S3 storage configuration for the hub.
|
List<Tag> |
getTags()
Any tags to associate with the hub.
|
int |
hashCode() |
void |
setHubDescription(String hubDescription)
A description of the hub.
|
void |
setHubDisplayName(String hubDisplayName)
The display name of the hub.
|
void |
setHubName(String hubName)
The name of the hub to create.
|
void |
setHubSearchKeywords(Collection<String> hubSearchKeywords)
The searchable keywords for the hub.
|
void |
setS3StorageConfig(HubS3StorageConfig s3StorageConfig)
The Amazon S3 storage configuration for the hub.
|
void |
setTags(Collection<Tag> tags)
Any tags to associate with the hub.
|
String |
toString()
Returns a string representation of this object.
|
CreateHubRequest |
withHubDescription(String hubDescription)
A description of the hub.
|
CreateHubRequest |
withHubDisplayName(String hubDisplayName)
The display name of the hub.
|
CreateHubRequest |
withHubName(String hubName)
The name of the hub to create.
|
CreateHubRequest |
withHubSearchKeywords(Collection<String> hubSearchKeywords)
The searchable keywords for the hub.
|
CreateHubRequest |
withHubSearchKeywords(String... hubSearchKeywords)
The searchable keywords for the hub.
|
CreateHubRequest |
withS3StorageConfig(HubS3StorageConfig s3StorageConfig)
The Amazon S3 storage configuration for the hub.
|
CreateHubRequest |
withTags(Collection<Tag> tags)
Any tags to associate with the hub.
|
CreateHubRequest |
withTags(Tag... tags)
Any tags to associate with the hub.
|
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 setHubName(String hubName)
The name of the hub to create.
hubName
- The name of the hub to create.public String getHubName()
The name of the hub to create.
public CreateHubRequest withHubName(String hubName)
The name of the hub to create.
hubName
- The name of the hub to create.public void setHubDescription(String hubDescription)
A description of the hub.
hubDescription
- A description of the hub.public String getHubDescription()
A description of the hub.
public CreateHubRequest withHubDescription(String hubDescription)
A description of the hub.
hubDescription
- A description of the hub.public void setHubDisplayName(String hubDisplayName)
The display name of the hub.
hubDisplayName
- The display name of the hub.public String getHubDisplayName()
The display name of the hub.
public CreateHubRequest withHubDisplayName(String hubDisplayName)
The display name of the hub.
hubDisplayName
- The display name of the hub.public List<String> getHubSearchKeywords()
The searchable keywords for the hub.
public void setHubSearchKeywords(Collection<String> hubSearchKeywords)
The searchable keywords for the hub.
hubSearchKeywords
- The searchable keywords for the hub.public CreateHubRequest withHubSearchKeywords(String... hubSearchKeywords)
The searchable keywords for the hub.
NOTE: This method appends the values to the existing list (if any). Use
setHubSearchKeywords(java.util.Collection)
or withHubSearchKeywords(java.util.Collection)
if
you want to override the existing values.
hubSearchKeywords
- The searchable keywords for the hub.public CreateHubRequest withHubSearchKeywords(Collection<String> hubSearchKeywords)
The searchable keywords for the hub.
hubSearchKeywords
- The searchable keywords for the hub.public void setS3StorageConfig(HubS3StorageConfig s3StorageConfig)
The Amazon S3 storage configuration for the hub.
s3StorageConfig
- The Amazon S3 storage configuration for the hub.public HubS3StorageConfig getS3StorageConfig()
The Amazon S3 storage configuration for the hub.
public CreateHubRequest withS3StorageConfig(HubS3StorageConfig s3StorageConfig)
The Amazon S3 storage configuration for the hub.
s3StorageConfig
- The Amazon S3 storage configuration for the hub.public List<Tag> getTags()
Any tags to associate with the hub.
public void setTags(Collection<Tag> tags)
Any tags to associate with the hub.
tags
- Any tags to associate with the hub.public CreateHubRequest withTags(Tag... tags)
Any tags to associate with the hub.
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
- Any tags to associate with the hub.public CreateHubRequest withTags(Collection<Tag> tags)
Any tags to associate with the hub.
tags
- Any tags to associate with the hub.public String toString()
toString
in class Object
Object.toString()
public CreateHubRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()