@Generated(value="software.amazon.awssdk:codegen") public final class ShareDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShareDetails.Builder,ShareDetails>
Information about the portfolio share operation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ShareDetails.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ShareDetails.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasShareErrors()
Returns true if the ShareErrors property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasSuccessfulShares()
Returns true if the SuccessfulShares property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ShareDetails.Builder> |
serializableBuilderClass() |
List<ShareError> |
shareErrors()
List of errors.
|
List<String> |
successfulShares()
List of accounts for whom the operation succeeded.
|
ShareDetails.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasSuccessfulShares()
public final List<String> successfulShares()
List of accounts for whom the operation succeeded.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSuccessfulShares() to see if a value was sent in this field.
public final boolean hasShareErrors()
public final List<ShareError> shareErrors()
List of errors.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasShareErrors() to see if a value was sent in this field.
public ShareDetails.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ShareDetails.Builder,ShareDetails>public static ShareDetails.Builder builder()
public static Class<? extends ShareDetails.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.