@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPartnershipsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListPartnershipsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListPartnershipsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
List<PartnershipSummary> |
getPartnerships()
Specifies a list of your partnerships.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
void |
setPartnerships(Collection<PartnershipSummary> partnerships)
Specifies a list of your partnerships.
|
String |
toString()
Returns a string representation of this object.
|
ListPartnershipsResult |
withNextToken(String nextToken)
When additional results are obtained from the command, a
NextToken parameter is returned in the
output. |
ListPartnershipsResult |
withPartnerships(Collection<PartnershipSummary> partnerships)
Specifies a list of your partnerships.
|
ListPartnershipsResult |
withPartnerships(PartnershipSummary... partnerships)
Specifies a list of your partnerships.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<PartnershipSummary> getPartnerships()
Specifies a list of your partnerships.
public void setPartnerships(Collection<PartnershipSummary> partnerships)
Specifies a list of your partnerships.
partnerships - Specifies a list of your partnerships.public ListPartnershipsResult withPartnerships(PartnershipSummary... partnerships)
Specifies a list of your partnerships.
NOTE: This method appends the values to the existing list (if any). Use
setPartnerships(java.util.Collection) or withPartnerships(java.util.Collection) if you want to
override the existing values.
partnerships - Specifies a list of your partnerships.public ListPartnershipsResult withPartnerships(Collection<PartnershipSummary> partnerships)
Specifies a list of your partnerships.
partnerships - Specifies a list of your partnerships.public void setNextToken(String nextToken)
When additional results are obtained from the command, a NextToken parameter is returned in the
output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional resources.
nextToken - When additional results are obtained from the command, a NextToken parameter is returned in
the output. You can then pass the NextToken parameter in a subsequent command to continue
listing additional resources.public String getNextToken()
When additional results are obtained from the command, a NextToken parameter is returned in the
output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional resources.
NextToken parameter is returned in
the output. You can then pass the NextToken parameter in a subsequent command to continue
listing additional resources.public ListPartnershipsResult withNextToken(String nextToken)
When additional results are obtained from the command, a NextToken parameter is returned in the
output. You can then pass the NextToken parameter in a subsequent command to continue listing
additional resources.
nextToken - When additional results are obtained from the command, a NextToken parameter is returned in
the output. You can then pass the NextToken parameter in a subsequent command to continue
listing additional resources.public String toString()
toString in class ObjectObject.toString()public ListPartnershipsResult clone()