@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PartnershipSummary extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains the details for a partnership. Partnerships link trading partners with your profile and a specific transformer, so that the EDI (electronic data interchange) documents that they upload to Amazon S3 can be processed according to their specifications.
Constructor and Description |
---|
PartnershipSummary() |
Modifier and Type | Method and Description |
---|---|
PartnershipSummary |
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.
|
Date |
getModifiedAt()
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
|
String |
getName()
Returns the name of the partnership.
|
String |
getPartnershipId()
Returns the unique, system-generated identifier for a 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 |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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 |
setModifiedAt(Date modifiedAt)
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
|
void |
setName(String name)
Returns the name of the partnership.
|
void |
setPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a 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.
|
PartnershipSummary |
withCapabilities(Collection<String> capabilities)
Returns one or more capabilities associated with this partnership.
|
PartnershipSummary |
withCapabilities(String... capabilities)
Returns one or more capabilities associated with this partnership.
|
PartnershipSummary |
withCreatedAt(Date createdAt)
Returns a timestamp for creation date and time of the partnership.
|
PartnershipSummary |
withModifiedAt(Date modifiedAt)
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
|
PartnershipSummary |
withName(String name)
Returns the name of the partnership.
|
PartnershipSummary |
withPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
|
PartnershipSummary |
withProfileId(String profileId)
Returns the unique, system-generated identifier for the profile connected to this partnership.
|
PartnershipSummary |
withTradingPartnerId(String tradingPartnerId)
Returns the unique, system-generated identifier for a trading partner.
|
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 PartnershipSummary 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 PartnershipSummary withPartnershipId(String partnershipId)
Returns the unique, system-generated identifier for a partnership.
partnershipId
- Returns the unique, system-generated identifier for a partnership.public void setName(String name)
Returns the name of the partnership.
name
- Returns the name of the partnership.public String getName()
Returns the name of the partnership.
public PartnershipSummary withName(String name)
Returns the name of the partnership.
name
- Returns the name of 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 PartnershipSummary 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 PartnershipSummary 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 PartnershipSummary 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 PartnershipSummary 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 void setModifiedAt(Date modifiedAt)
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
modifiedAt
- Returns a timestamp that identifies the most recent date and time that the partnership was modified.public Date getModifiedAt()
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
public PartnershipSummary withModifiedAt(Date modifiedAt)
Returns a timestamp that identifies the most recent date and time that the partnership was modified.
modifiedAt
- Returns a timestamp that identifies the most recent date and time that the partnership was modified.public String toString()
toString
in class Object
Object.toString()
public PartnershipSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.