pub struct Builder { /* private fields */ }Expand description
A builder for JobWorkerExecutorConfiguration.
Implementations§
source§impl Builder
impl Builder
sourcepub fn polling_accounts(self, input: impl Into<String>) -> Self
pub fn polling_accounts(self, input: impl Into<String>) -> Self
Appends an item to polling_accounts.
To override the contents of this collection use set_polling_accounts.
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
sourcepub fn set_polling_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_polling_accounts(self, input: Option<Vec<String>>) -> Self
The accounts in which the job worker is configured and might poll for jobs as part of the action execution.
sourcepub fn polling_service_principals(self, input: impl Into<String>) -> Self
pub fn polling_service_principals(self, input: impl Into<String>) -> Self
Appends an item to polling_service_principals.
To override the contents of this collection use set_polling_service_principals.
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
sourcepub fn set_polling_service_principals(self, input: Option<Vec<String>>) -> Self
pub fn set_polling_service_principals(self, input: Option<Vec<String>>) -> Self
The service Principals in which the job worker is configured and might poll for jobs as part of the action execution.
sourcepub fn build(self) -> JobWorkerExecutorConfiguration
pub fn build(self) -> JobWorkerExecutorConfiguration
Consumes the builder and constructs a JobWorkerExecutorConfiguration.