@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ActionTypeExecutor extends Object implements Serializable, Cloneable, StructuredPojo
The action engine, or executor, for an action type created for a provider, where the action is to be used by customers of the provider. The action engine is associated with the model used to create and update the action, such as the Lambda integration model.
Constructor and Description |
---|
ActionTypeExecutor() |
Modifier and Type | Method and Description |
---|---|
ActionTypeExecutor |
clone() |
boolean |
equals(Object obj) |
ExecutorConfiguration |
getConfiguration()
The action configuration properties for the action type.
|
Integer |
getJobTimeout()
The timeout in seconds for the job.
|
String |
getPolicyStatementsTemplate()
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to
successfully run an action.
|
String |
getType()
The integration model used to create and update the action type,
Lambda or JobWorker . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(ExecutorConfiguration configuration)
The action configuration properties for the action type.
|
void |
setJobTimeout(Integer jobTimeout)
The timeout in seconds for the job.
|
void |
setPolicyStatementsTemplate(String policyStatementsTemplate)
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to
successfully run an action.
|
void |
setType(String type)
The integration model used to create and update the action type,
Lambda or JobWorker . |
String |
toString()
Returns a string representation of this object.
|
ActionTypeExecutor |
withConfiguration(ExecutorConfiguration configuration)
The action configuration properties for the action type.
|
ActionTypeExecutor |
withJobTimeout(Integer jobTimeout)
The timeout in seconds for the job.
|
ActionTypeExecutor |
withPolicyStatementsTemplate(String policyStatementsTemplate)
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to
successfully run an action.
|
ActionTypeExecutor |
withType(ExecutorType type)
The integration model used to create and update the action type,
Lambda or JobWorker . |
ActionTypeExecutor |
withType(String type)
The integration model used to create and update the action type,
Lambda or JobWorker . |
public void setConfiguration(ExecutorConfiguration configuration)
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
configuration
- The action configuration properties for the action type. These properties are specified in the action
definition when the action type is created.public ExecutorConfiguration getConfiguration()
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
public ActionTypeExecutor withConfiguration(ExecutorConfiguration configuration)
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
configuration
- The action configuration properties for the action type. These properties are specified in the action
definition when the action type is created.public void setType(String type)
The integration model used to create and update the action type, Lambda
or JobWorker
.
type
- The integration model used to create and update the action type, Lambda
or
JobWorker
.ExecutorType
public String getType()
The integration model used to create and update the action type, Lambda
or JobWorker
.
Lambda
or
JobWorker
.ExecutorType
public ActionTypeExecutor withType(String type)
The integration model used to create and update the action type, Lambda
or JobWorker
.
type
- The integration model used to create and update the action type, Lambda
or
JobWorker
.ExecutorType
public ActionTypeExecutor withType(ExecutorType type)
The integration model used to create and update the action type, Lambda
or JobWorker
.
type
- The integration model used to create and update the action type, Lambda
or
JobWorker
.ExecutorType
public void setPolicyStatementsTemplate(String policyStatementsTemplate)
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier
defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
policyStatementsTemplate
- The policy statement that specifies the permissions in the CodePipeline customer account that are needed
to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier
defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
public String getPolicyStatementsTemplate()
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier
defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
To grant permission to another account, specify the account ID as the Principal, a domain-style
identifier defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
public ActionTypeExecutor withPolicyStatementsTemplate(String policyStatementsTemplate)
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier
defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
policyStatementsTemplate
- The policy statement that specifies the permissions in the CodePipeline customer account that are needed
to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier
defined by the service, for example codepipeline.amazonaws.com
.
The size of the passed JSON policy document cannot exceed 2048 characters.
public void setJobTimeout(Integer jobTimeout)
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
jobTimeout
- The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a
single job, not the entire action execution.public Integer getJobTimeout()
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
public ActionTypeExecutor withJobTimeout(Integer jobTimeout)
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
jobTimeout
- The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a
single job, not the entire action execution.public String toString()
toString
in class Object
Object.toString()
public ActionTypeExecutor clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.