@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePartnershipResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreatePartnershipResult() |
Modifier and Type | Method and Description |
---|---|
CreatePartnershipResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCapabilities()
Returns one or more capabilities associated with this partnership.
|
Date |
getCreatedAt()
Returns a timestamp for creation date and time of the partnership.
|
String |
getEmail()
Returns the email address associated with this trading partner.
|
String |
getName()
Returns a descriptive name for the partnership.
|
String |
getPartnershipArn()
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
partnership, profile, or transformer.
|
String |
getPartnershipId()
Returns the unique, system-generated identifier for a partnership.
|
String |
getPhone()
Returns the phone number associated with the partnership.
|
String |
getProfileId()
Returns the unique, system-generated identifier for the profile connected to this partnership.
|
String |
getTradingPartnerId()
Returns the unique, system-generated identifier for a trading partner.
|
int |
hashCode() |
void |
setCapabilities(Collection<String> capabilities)
Returns one or more capabilities associated with this partnership.
|
void |
setCreatedAt(Date createdAt)
Returns a timestamp for creation date and time of the partnership.
|
void |
setEmail(String email)
Returns the email address associated with this trading partner.
|
void |
setName(String name)
Returns a descriptive name for the partnership.
|
void |
setPartnershipArn(String partnershipArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
partnership, profile, or transformer.
|
void |
setPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
|
void |
setPhone(String phone)
Returns the phone number associated with the partnership.
|
void |
setProfileId(String profileId)
Returns the unique, system-generated identifier for the profile connected to this partnership.
|
void |
setTradingPartnerId(String tradingPartnerId)
Returns the unique, system-generated identifier for a trading partner.
|
String |
toString()
Returns a string representation of this object.
|
CreatePartnershipResult |
withCapabilities(Collection<String> capabilities)
Returns one or more capabilities associated with this partnership.
|
CreatePartnershipResult |
withCapabilities(String... capabilities)
Returns one or more capabilities associated with this partnership.
|
CreatePartnershipResult |
withCreatedAt(Date createdAt)
Returns a timestamp for creation date and time of the partnership.
|
CreatePartnershipResult |
withEmail(String email)
Returns the email address associated with this trading partner.
|
CreatePartnershipResult |
withName(String name)
Returns a descriptive name for the partnership.
|
CreatePartnershipResult |
withPartnershipArn(String partnershipArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
partnership, profile, or transformer.
|
CreatePartnershipResult |
withPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
|
CreatePartnershipResult |
withPhone(String phone)
Returns the phone number associated with the partnership.
|
CreatePartnershipResult |
withProfileId(String profileId)
Returns the unique, system-generated identifier for the profile connected to this partnership.
|
CreatePartnershipResult |
withTradingPartnerId(String tradingPartnerId)
Returns the unique, system-generated identifier for a trading partner.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setProfileId(String profileId)
Returns the unique, system-generated identifier for the profile connected to this partnership.
profileId
- Returns the unique, system-generated identifier for the profile connected to this partnership.public String getProfileId()
Returns the unique, system-generated identifier for the profile connected to this partnership.
public CreatePartnershipResult withProfileId(String profileId)
Returns the unique, system-generated identifier for the profile connected to this partnership.
profileId
- Returns the unique, system-generated identifier for the profile connected to this partnership.public void setPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
partnershipId
- Returns the unique, system-generated identifier for a partnership.public String getPartnershipId()
Returns the unique, system-generated identifier for a partnership.
public CreatePartnershipResult withPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
partnershipId
- Returns the unique, system-generated identifier for a partnership.public void setPartnershipArn(String partnershipArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
partnershipArn
- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
partnership, profile, or transformer.public String getPartnershipArn()
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
public CreatePartnershipResult withPartnershipArn(String partnershipArn)
Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability, partnership, profile, or transformer.
partnershipArn
- Returns an Amazon Resource Name (ARN) for a specific Amazon Web Services resource, such as a capability,
partnership, profile, or transformer.public void setName(String name)
Returns a descriptive name for the partnership.
name
- Returns a descriptive name for the partnership.public String getName()
Returns a descriptive name for the partnership.
public CreatePartnershipResult withName(String name)
Returns a descriptive name for the partnership.
name
- Returns a descriptive name for the partnership.public void setEmail(String email)
Returns the email address associated with this trading partner.
email
- Returns the email address associated with this trading partner.public String getEmail()
Returns the email address associated with this trading partner.
public CreatePartnershipResult withEmail(String email)
Returns the email address associated with this trading partner.
email
- Returns the email address associated with this trading partner.public void setPhone(String phone)
Returns the phone number associated with the partnership.
phone
- Returns the phone number associated with the partnership.public String getPhone()
Returns the phone number associated with the partnership.
public CreatePartnershipResult withPhone(String phone)
Returns the phone number associated with the partnership.
phone
- Returns the phone number associated with the partnership.public List<String> getCapabilities()
Returns one or more capabilities associated with this partnership.
public void setCapabilities(Collection<String> capabilities)
Returns one or more capabilities associated with this partnership.
capabilities
- Returns one or more capabilities associated with this partnership.public CreatePartnershipResult withCapabilities(String... capabilities)
Returns one or more 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
- Returns one or more capabilities associated with this partnership.public CreatePartnershipResult withCapabilities(Collection<String> capabilities)
Returns one or more capabilities associated with this partnership.
capabilities
- Returns one or more capabilities associated with this partnership.public void setTradingPartnerId(String tradingPartnerId)
Returns the unique, system-generated identifier for a trading partner.
tradingPartnerId
- Returns the unique, system-generated identifier for a trading partner.public String getTradingPartnerId()
Returns the unique, system-generated identifier for a trading partner.
public CreatePartnershipResult withTradingPartnerId(String tradingPartnerId)
Returns the unique, system-generated identifier for a trading partner.
tradingPartnerId
- Returns the unique, system-generated identifier for a trading partner.public void setCreatedAt(Date createdAt)
Returns a timestamp for creation date and time of the partnership.
createdAt
- Returns a timestamp for creation date and time of the partnership.public Date getCreatedAt()
Returns a timestamp for creation date and time of the partnership.
public CreatePartnershipResult withCreatedAt(Date createdAt)
Returns a timestamp for creation date and time of the partnership.
createdAt
- Returns a timestamp for creation date and time of the partnership.public String toString()
toString
in class Object
Object.toString()
public CreatePartnershipResult clone()