@Generated(value="software.amazon.awssdk:codegen") public final class ShareError extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShareError.Builder,ShareError>
Errors that occurred during the portfolio share operation.
Modifier and Type | Class and Description |
---|---|
static interface |
ShareError.Builder |
Modifier and Type | Method and Description |
---|---|
List<String> |
accounts()
List of accounts impacted by the error.
|
static ShareError.Builder |
builder() |
boolean |
equals(Object obj) |
String |
error()
Error type that happened when processing the operation.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
message()
Information about the error.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ShareError.Builder> |
serializableBuilderClass() |
ShareError.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public List<String> accounts()
List of accounts impacted by the error.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String message()
Information about the error.
public String error()
Error type that happened when processing the operation.
public ShareError.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ShareError.Builder,ShareError>
public static ShareError.Builder builder()
public static Class<? extends ShareError.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.