@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobWorkerExecutorConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about the polling configuration for the JobWorker
action engine, or executor.
Constructor and Description |
---|
JobWorkerExecutorConfiguration() |
Modifier and Type | Method and Description |
---|---|
JobWorkerExecutorConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getPollingAccounts()
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
|
List<String> |
getPollingServicePrincipals()
The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setPollingAccounts(Collection<String> pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
|
void |
setPollingServicePrincipals(Collection<String> pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.
|
String |
toString()
Returns a string representation of this object.
|
JobWorkerExecutorConfiguration |
withPollingAccounts(Collection<String> pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
|
JobWorkerExecutorConfiguration |
withPollingAccounts(String... pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
|
JobWorkerExecutorConfiguration |
withPollingServicePrincipals(Collection<String> pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.
|
JobWorkerExecutorConfiguration |
withPollingServicePrincipals(String... pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.
|
public List<String> getPollingAccounts()
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
public void setPollingAccounts(Collection<String> pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
pollingAccounts
- The accounts in which the job worker is configured and might poll for jobs as part of the action
execution.public JobWorkerExecutorConfiguration withPollingAccounts(String... pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
NOTE: This method appends the values to the existing list (if any). Use
setPollingAccounts(java.util.Collection)
or withPollingAccounts(java.util.Collection)
if you
want to override the existing values.
pollingAccounts
- The accounts in which the job worker is configured and might poll for jobs as part of the action
execution.public JobWorkerExecutorConfiguration withPollingAccounts(Collection<String> pollingAccounts)
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
pollingAccounts
- The accounts in which the job worker is configured and might poll for jobs as part of the action
execution.public List<String> getPollingServicePrincipals()
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
public void setPollingServicePrincipals(Collection<String> pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
pollingServicePrincipals
- The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.public JobWorkerExecutorConfiguration withPollingServicePrincipals(String... pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
NOTE: This method appends the values to the existing list (if any). Use
setPollingServicePrincipals(java.util.Collection)
or
withPollingServicePrincipals(java.util.Collection)
if you want to override the existing values.
pollingServicePrincipals
- The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.public JobWorkerExecutorConfiguration withPollingServicePrincipals(Collection<String> pollingServicePrincipals)
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
pollingServicePrincipals
- The service Principals in which the job worker is configured and might poll for jobs as part of the action
execution.public String toString()
toString
in class Object
Object.toString()
public JobWorkerExecutorConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.