@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePackageGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePackageGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePackageGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContactInfo()
The contact information for the created package group.
|
String |
getDescription()
A description of the package group.
|
String |
getDomain()
The name of the domain in which you want to create a package group.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getPackageGroup()
The pattern of the package group to create.
|
List<Tag> |
getTags()
One or more tag key-value pairs for the package group.
|
int |
hashCode() |
void |
setContactInfo(String contactInfo)
The contact information for the created package group.
|
void |
setDescription(String description)
A description of the package group.
|
void |
setDomain(String domain)
The name of the domain in which you want to create a package group.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setPackageGroup(String packageGroup)
The pattern of the package group to create.
|
void |
setTags(Collection<Tag> tags)
One or more tag key-value pairs for the package group.
|
String |
toString()
Returns a string representation of this object.
|
CreatePackageGroupRequest |
withContactInfo(String contactInfo)
The contact information for the created package group.
|
CreatePackageGroupRequest |
withDescription(String description)
A description of the package group.
|
CreatePackageGroupRequest |
withDomain(String domain)
The name of the domain in which you want to create a package group.
|
CreatePackageGroupRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
CreatePackageGroupRequest |
withPackageGroup(String packageGroup)
The pattern of the package group to create.
|
CreatePackageGroupRequest |
withTags(Collection<Tag> tags)
One or more tag key-value pairs for the package group.
|
CreatePackageGroupRequest |
withTags(Tag... tags)
One or more tag key-value pairs for the package group.
|
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 setDomain(String domain)
The name of the domain in which you want to create a package group.
domain
- The name of the domain in which you want to create a package group.public String getDomain()
The name of the domain in which you want to create a package group.
public CreatePackageGroupRequest withDomain(String domain)
The name of the domain in which you want to create a package group.
domain
- The name of the domain in which you want to create a package group.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public CreatePackageGroupRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setPackageGroup(String packageGroup)
The pattern of the package group to create. The pattern is also the identifier of the package group.
packageGroup
- The pattern of the package group to create. The pattern is also the identifier of the package group.public String getPackageGroup()
The pattern of the package group to create. The pattern is also the identifier of the package group.
public CreatePackageGroupRequest withPackageGroup(String packageGroup)
The pattern of the package group to create. The pattern is also the identifier of the package group.
packageGroup
- The pattern of the package group to create. The pattern is also the identifier of the package group.public void setContactInfo(String contactInfo)
The contact information for the created package group.
contactInfo
- The contact information for the created package group.public String getContactInfo()
The contact information for the created package group.
public CreatePackageGroupRequest withContactInfo(String contactInfo)
The contact information for the created package group.
contactInfo
- The contact information for the created package group.public void setDescription(String description)
A description of the package group.
description
- A description of the package group.public String getDescription()
A description of the package group.
public CreatePackageGroupRequest withDescription(String description)
A description of the package group.
description
- A description of the package group.public List<Tag> getTags()
One or more tag key-value pairs for the package group.
public void setTags(Collection<Tag> tags)
One or more tag key-value pairs for the package group.
tags
- One or more tag key-value pairs for the package group.public CreatePackageGroupRequest withTags(Tag... tags)
One or more tag key-value pairs for the package group.
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
- One or more tag key-value pairs for the package group.public CreatePackageGroupRequest withTags(Collection<Tag> tags)
One or more tag key-value pairs for the package group.
tags
- One or more tag key-value pairs for the package group.public String toString()
toString
in class Object
Object.toString()
public CreatePackageGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()