@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePartnershipRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreatePartnershipRequest() |
Modifier and Type | Method and Description |
---|---|
CreatePartnershipRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
Specifies a list of the capabilities associated with this partnership.
|
String |
getClientToken()
Reserved for future use.
|
String |
getEmail()
Specifies the email address associated with this trading partner.
|
String |
getName()
Specifies a descriptive name for the partnership.
|
String |
getPhone()
Specifies the phone number associated with the partnership.
|
String |
getProfileId()
Specifies the unique, system-generated identifier for the profile connected to this partnership.
|
List<Tag> |
getTags()
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
int |
hashCode() |
void |
setCapabilities(Collection<String> capabilities)
Specifies a list of the capabilities associated with this partnership.
|
void |
setClientToken(String clientToken)
Reserved for future use.
|
void |
setEmail(String email)
Specifies the email address associated with this trading partner.
|
void |
setName(String name)
Specifies a descriptive name for the partnership.
|
void |
setPhone(String phone)
Specifies the phone number associated with the partnership.
|
void |
setProfileId(String profileId)
Specifies the unique, system-generated identifier for the profile connected to this partnership.
|
void |
setTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
String |
toString()
Returns a string representation of this object.
|
CreatePartnershipRequest |
withCapabilities(Collection<String> capabilities)
Specifies a list of the capabilities associated with this partnership.
|
CreatePartnershipRequest |
withCapabilities(String... capabilities)
Specifies a list of the capabilities associated with this partnership.
|
CreatePartnershipRequest |
withClientToken(String clientToken)
Reserved for future use.
|
CreatePartnershipRequest |
withEmail(String email)
Specifies the email address associated with this trading partner.
|
CreatePartnershipRequest |
withName(String name)
Specifies a descriptive name for the partnership.
|
CreatePartnershipRequest |
withPhone(String phone)
Specifies the phone number associated with the partnership.
|
CreatePartnershipRequest |
withProfileId(String profileId)
Specifies the unique, system-generated identifier for the profile connected to this partnership.
|
CreatePartnershipRequest |
withTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
CreatePartnershipRequest |
withTags(Tag... tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
|
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 setProfileId(String profileId)
Specifies the unique, system-generated identifier for the profile connected to this partnership.
profileId
- Specifies the unique, system-generated identifier for the profile connected to this partnership.public String getProfileId()
Specifies the unique, system-generated identifier for the profile connected to this partnership.
public CreatePartnershipRequest withProfileId(String profileId)
Specifies the unique, system-generated identifier for the profile connected to this partnership.
profileId
- Specifies the unique, system-generated identifier for the profile connected to this partnership.public void setName(String name)
Specifies a descriptive name for the partnership.
name
- Specifies a descriptive name for the partnership.public String getName()
Specifies a descriptive name for the partnership.
public CreatePartnershipRequest withName(String name)
Specifies a descriptive name for the partnership.
name
- Specifies a descriptive name for the partnership.public void setEmail(String email)
Specifies the email address associated with this trading partner.
email
- Specifies the email address associated with this trading partner.public String getEmail()
Specifies the email address associated with this trading partner.
public CreatePartnershipRequest withEmail(String email)
Specifies the email address associated with this trading partner.
email
- Specifies the email address associated with this trading partner.public void setPhone(String phone)
Specifies the phone number associated with the partnership.
phone
- Specifies the phone number associated with the partnership.public String getPhone()
Specifies the phone number associated with the partnership.
public CreatePartnershipRequest withPhone(String phone)
Specifies the phone number associated with the partnership.
phone
- Specifies the phone number associated with the partnership.public List<String> getCapabilities()
Specifies a list of the capabilities associated with this partnership.
public void setCapabilities(Collection<String> capabilities)
Specifies a list of the capabilities associated with this partnership.
capabilities
- Specifies a list of the capabilities associated with this partnership.public CreatePartnershipRequest withCapabilities(String... capabilities)
Specifies a list of the capabilities associated with this partnership.
NOTE: This method appends the values to the existing list (if any). Use
setCapabilities(java.util.Collection)
or withCapabilities(java.util.Collection)
if you want to
override the existing values.
capabilities
- Specifies a list of the capabilities associated with this partnership.public CreatePartnershipRequest withCapabilities(Collection<String> capabilities)
Specifies a list of the capabilities associated with this partnership.
capabilities
- Specifies a list of the capabilities associated with this partnership.public void setClientToken(String clientToken)
Reserved for future use.
clientToken
- Reserved for future use.public String getClientToken()
Reserved for future use.
public CreatePartnershipRequest withClientToken(String clientToken)
Reserved for future use.
clientToken
- Reserved for future use.public List<Tag> getTags()
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
public void setTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
tags
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public CreatePartnershipRequest withTags(Tag... tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
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
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public CreatePartnershipRequest withTags(Collection<Tag> tags)
Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type. You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.
tags
- Specifies the key-value pairs assigned to ARNs that you can use to group and search for resources by type.
You can attach this metadata to resources (capabilities, partnerships, and so on) for any purpose.public String toString()
toString
in class Object
Object.toString()
public CreatePartnershipRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()