@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShareDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the portfolio share operation.
| Constructor and Description |
|---|
ShareDetails() |
| Modifier and Type | Method and Description |
|---|---|
ShareDetails |
clone() |
boolean |
equals(Object obj) |
List<ShareError> |
getShareErrors()
List of errors.
|
List<String> |
getSuccessfulShares()
List of accounts for whom the operation succeeded.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setShareErrors(Collection<ShareError> shareErrors)
List of errors.
|
void |
setSuccessfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
|
String |
toString()
Returns a string representation of this object.
|
ShareDetails |
withShareErrors(Collection<ShareError> shareErrors)
List of errors.
|
ShareDetails |
withShareErrors(ShareError... shareErrors)
List of errors.
|
ShareDetails |
withSuccessfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
|
ShareDetails |
withSuccessfulShares(String... successfulShares)
List of accounts for whom the operation succeeded.
|
public List<String> getSuccessfulShares()
List of accounts for whom the operation succeeded.
public void setSuccessfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
successfulShares - List of accounts for whom the operation succeeded.public ShareDetails withSuccessfulShares(String... successfulShares)
List of accounts for whom the operation succeeded.
NOTE: This method appends the values to the existing list (if any). Use
setSuccessfulShares(java.util.Collection) or withSuccessfulShares(java.util.Collection) if you
want to override the existing values.
successfulShares - List of accounts for whom the operation succeeded.public ShareDetails withSuccessfulShares(Collection<String> successfulShares)
List of accounts for whom the operation succeeded.
successfulShares - List of accounts for whom the operation succeeded.public List<ShareError> getShareErrors()
List of errors.
public void setShareErrors(Collection<ShareError> shareErrors)
List of errors.
shareErrors - List of errors.public ShareDetails withShareErrors(ShareError... shareErrors)
List of errors.
NOTE: This method appends the values to the existing list (if any). Use
setShareErrors(java.util.Collection) or withShareErrors(java.util.Collection) if you want to
override the existing values.
shareErrors - List of errors.public ShareDetails withShareErrors(Collection<ShareError> shareErrors)
List of errors.
shareErrors - List of errors.public String toString()
toString in class ObjectObject.toString()public ShareDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.