@Generated(value="software.amazon.awssdk:codegen") public final class AwsApiCallAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsApiCallAction.Builder,AwsApiCallAction>
Contains information about the API action.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsApiCallAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
affectedResources()
The details of the Amazon Web Services account that made the API call.
|
String |
api()
The Amazon Web Services API name.
|
static AwsApiCallAction.Builder |
builder() |
String |
callerType()
The Amazon Web Services API caller type.
|
DomainDetails |
domainDetails()
The domain information for the Amazon Web Services API call.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
errorCode()
The error code of the failed Amazon Web Services API action.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAffectedResources()
For responses, this returns true if the service returned a value for the AffectedResources property.
|
int |
hashCode() |
RemoteAccountDetails |
remoteAccountDetails()
The details of the Amazon Web Services account that made the API call.
|
RemoteIpDetails |
remoteIpDetails()
The remote IP information of the connection that initiated the Amazon Web Services API call.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsApiCallAction.Builder> |
serializableBuilderClass() |
String |
serviceName()
The Amazon Web Services service name whose API was invoked.
|
AwsApiCallAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userAgent()
The agent through which the API request was made.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String api()
The Amazon Web Services API name.
public final String callerType()
The Amazon Web Services API caller type.
public final DomainDetails domainDetails()
The domain information for the Amazon Web Services API call.
public final String errorCode()
The error code of the failed Amazon Web Services API action.
public final String userAgent()
The agent through which the API request was made.
public final RemoteIpDetails remoteIpDetails()
The remote IP information of the connection that initiated the Amazon Web Services API call.
public final String serviceName()
The Amazon Web Services service name whose API was invoked.
public final RemoteAccountDetails remoteAccountDetails()
The details of the Amazon Web Services account that made the API call. This field appears if the call was made from outside your account.
public final boolean hasAffectedResources()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final Map<String,String> affectedResources()
The details of the Amazon Web Services account that made the API call. This field identifies the resources that were affected by this API call.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasAffectedResources() method.
public AwsApiCallAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsApiCallAction.Builder,AwsApiCallAction>public static AwsApiCallAction.Builder builder()
public static Class<? extends AwsApiCallAction.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.