@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionInvocation extends Object implements Serializable, Cloneable, StructuredPojo
An extension that was invoked as part of a deployment event.
Constructor and Description |
---|
ActionInvocation() |
Modifier and Type | Method and Description |
---|---|
ActionInvocation |
clone() |
boolean |
equals(Object obj) |
String |
getActionName()
The name of the action.
|
String |
getErrorCode()
The error code when an extension invocation fails.
|
String |
getErrorMessage()
The error message when an extension invocation fails.
|
String |
getExtensionIdentifier()
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
|
String |
getInvocationId()
A system-generated ID for this invocation.
|
String |
getRoleArn()
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
|
String |
getUri()
The extension URI associated to the action point in the extension definition.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionName(String actionName)
The name of the action.
|
void |
setErrorCode(String errorCode)
The error code when an extension invocation fails.
|
void |
setErrorMessage(String errorMessage)
The error message when an extension invocation fails.
|
void |
setExtensionIdentifier(String extensionIdentifier)
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
|
void |
setInvocationId(String invocationId)
A system-generated ID for this invocation.
|
void |
setRoleArn(String roleArn)
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
|
void |
setUri(String uri)
The extension URI associated to the action point in the extension definition.
|
String |
toString()
Returns a string representation of this object.
|
ActionInvocation |
withActionName(String actionName)
The name of the action.
|
ActionInvocation |
withErrorCode(String errorCode)
The error code when an extension invocation fails.
|
ActionInvocation |
withErrorMessage(String errorMessage)
The error message when an extension invocation fails.
|
ActionInvocation |
withExtensionIdentifier(String extensionIdentifier)
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
|
ActionInvocation |
withInvocationId(String invocationId)
A system-generated ID for this invocation.
|
ActionInvocation |
withRoleArn(String roleArn)
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
|
ActionInvocation |
withUri(String uri)
The extension URI associated to the action point in the extension definition.
|
public void setExtensionIdentifier(String extensionIdentifier)
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.public String getExtensionIdentifier()
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
public ActionInvocation withExtensionIdentifier(String extensionIdentifier)
The name, the ID, or the Amazon Resource Name (ARN) of the extension.
extensionIdentifier
- The name, the ID, or the Amazon Resource Name (ARN) of the extension.public void setActionName(String actionName)
The name of the action.
actionName
- The name of the action.public String getActionName()
The name of the action.
public ActionInvocation withActionName(String actionName)
The name of the action.
actionName
- The name of the action.public void setUri(String uri)
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
uri
- The extension URI associated to the action point in the extension definition. The URI can be an Amazon
Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an
Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.public String getUri()
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
public ActionInvocation withUri(String uri)
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
uri
- The extension URI associated to the action point in the extension definition. The URI can be an Amazon
Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an
Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.public void setRoleArn(String roleArn)
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
roleArn
- An Amazon Resource Name (ARN) for an Identity and Access Management assume role.public String getRoleArn()
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
public ActionInvocation withRoleArn(String roleArn)
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
roleArn
- An Amazon Resource Name (ARN) for an Identity and Access Management assume role.public void setErrorMessage(String errorMessage)
The error message when an extension invocation fails.
errorMessage
- The error message when an extension invocation fails.public String getErrorMessage()
The error message when an extension invocation fails.
public ActionInvocation withErrorMessage(String errorMessage)
The error message when an extension invocation fails.
errorMessage
- The error message when an extension invocation fails.public void setErrorCode(String errorCode)
The error code when an extension invocation fails.
errorCode
- The error code when an extension invocation fails.public String getErrorCode()
The error code when an extension invocation fails.
public ActionInvocation withErrorCode(String errorCode)
The error code when an extension invocation fails.
errorCode
- The error code when an extension invocation fails.public void setInvocationId(String invocationId)
A system-generated ID for this invocation.
invocationId
- A system-generated ID for this invocation.public String getInvocationId()
A system-generated ID for this invocation.
public ActionInvocation withInvocationId(String invocationId)
A system-generated ID for this invocation.
invocationId
- A system-generated ID for this invocation.public String toString()
toString
in class Object
Object.toString()
public ActionInvocation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.