@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsApiCallAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the API action.
Constructor and Description |
---|
AwsApiCallAction() |
Modifier and Type | Method and Description |
---|---|
AwsApiCallAction |
clone() |
boolean |
equals(Object obj) |
String |
getApi()
The AWS API name.
|
String |
getCallerType()
The AWS API caller type.
|
DomainDetails |
getDomainDetails()
The domain information for the AWS API call.
|
String |
getErrorCode()
The error code of the failed AWS API action.
|
RemoteIpDetails |
getRemoteIpDetails()
The remote IP information of the connection that initiated the AWS API call.
|
String |
getServiceName()
The AWS service name whose API was invoked.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApi(String api)
The AWS API name.
|
void |
setCallerType(String callerType)
The AWS API caller type.
|
void |
setDomainDetails(DomainDetails domainDetails)
The domain information for the AWS API call.
|
void |
setErrorCode(String errorCode)
The error code of the failed AWS API action.
|
void |
setRemoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection that initiated the AWS API call.
|
void |
setServiceName(String serviceName)
The AWS service name whose API was invoked.
|
String |
toString()
Returns a string representation of this object.
|
AwsApiCallAction |
withApi(String api)
The AWS API name.
|
AwsApiCallAction |
withCallerType(String callerType)
The AWS API caller type.
|
AwsApiCallAction |
withDomainDetails(DomainDetails domainDetails)
The domain information for the AWS API call.
|
AwsApiCallAction |
withErrorCode(String errorCode)
The error code of the failed AWS API action.
|
AwsApiCallAction |
withRemoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection that initiated the AWS API call.
|
AwsApiCallAction |
withServiceName(String serviceName)
The AWS service name whose API was invoked.
|
public void setApi(String api)
The AWS API name.
api
- The AWS API name.public String getApi()
The AWS API name.
public AwsApiCallAction withApi(String api)
The AWS API name.
api
- The AWS API name.public void setCallerType(String callerType)
The AWS API caller type.
callerType
- The AWS API caller type.public String getCallerType()
The AWS API caller type.
public AwsApiCallAction withCallerType(String callerType)
The AWS API caller type.
callerType
- The AWS API caller type.public void setDomainDetails(DomainDetails domainDetails)
The domain information for the AWS API call.
domainDetails
- The domain information for the AWS API call.public DomainDetails getDomainDetails()
The domain information for the AWS API call.
public AwsApiCallAction withDomainDetails(DomainDetails domainDetails)
The domain information for the AWS API call.
domainDetails
- The domain information for the AWS API call.public void setErrorCode(String errorCode)
The error code of the failed AWS API action.
errorCode
- The error code of the failed AWS API action.public String getErrorCode()
The error code of the failed AWS API action.
public AwsApiCallAction withErrorCode(String errorCode)
The error code of the failed AWS API action.
errorCode
- The error code of the failed AWS API action.public void setRemoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection that initiated the AWS API call.
remoteIpDetails
- The remote IP information of the connection that initiated the AWS API call.public RemoteIpDetails getRemoteIpDetails()
The remote IP information of the connection that initiated the AWS API call.
public AwsApiCallAction withRemoteIpDetails(RemoteIpDetails remoteIpDetails)
The remote IP information of the connection that initiated the AWS API call.
remoteIpDetails
- The remote IP information of the connection that initiated the AWS API call.public void setServiceName(String serviceName)
The AWS service name whose API was invoked.
serviceName
- The AWS service name whose API was invoked.public String getServiceName()
The AWS service name whose API was invoked.
public AwsApiCallAction withServiceName(String serviceName)
The AWS service name whose API was invoked.
serviceName
- The AWS service name whose API was invoked.public String toString()
toString
in class Object
Object.toString()
public AwsApiCallAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.