#[non_exhaustive]pub struct ActionTypeDeclarationBuilder { /* private fields */ }
Expand description
A builder for ActionTypeDeclaration
.
Implementations§
source§impl ActionTypeDeclarationBuilder
impl ActionTypeDeclarationBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the action type to be updated.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the action type to be updated.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the action type to be updated.
sourcepub fn executor(self, input: ActionTypeExecutor) -> Self
pub fn executor(self, input: ActionTypeExecutor) -> Self
Information about the executor for an action type that was created with any supported integration model.
sourcepub fn set_executor(self, input: Option<ActionTypeExecutor>) -> Self
pub fn set_executor(self, input: Option<ActionTypeExecutor>) -> Self
Information about the executor for an action type that was created with any supported integration model.
sourcepub fn get_executor(&self) -> &Option<ActionTypeExecutor>
pub fn get_executor(&self) -> &Option<ActionTypeExecutor>
Information about the executor for an action type that was created with any supported integration model.
sourcepub fn id(self, input: ActionTypeIdentifier) -> Self
pub fn id(self, input: ActionTypeIdentifier) -> Self
The action category, owner, provider, and version of the action type to be updated.
sourcepub fn set_id(self, input: Option<ActionTypeIdentifier>) -> Self
pub fn set_id(self, input: Option<ActionTypeIdentifier>) -> Self
The action category, owner, provider, and version of the action type to be updated.
sourcepub fn get_id(&self) -> &Option<ActionTypeIdentifier>
pub fn get_id(&self) -> &Option<ActionTypeIdentifier>
The action category, owner, provider, and version of the action type to be updated.
sourcepub fn input_artifact_details(self, input: ActionTypeArtifactDetails) -> Self
pub fn input_artifact_details(self, input: ActionTypeArtifactDetails) -> Self
Details for the artifacts, such as application files, to be worked on by the action. For example, the minimum and maximum number of input artifacts allowed.
sourcepub fn set_input_artifact_details(
self,
input: Option<ActionTypeArtifactDetails>
) -> Self
pub fn set_input_artifact_details( self, input: Option<ActionTypeArtifactDetails> ) -> Self
Details for the artifacts, such as application files, to be worked on by the action. For example, the minimum and maximum number of input artifacts allowed.
sourcepub fn get_input_artifact_details(&self) -> &Option<ActionTypeArtifactDetails>
pub fn get_input_artifact_details(&self) -> &Option<ActionTypeArtifactDetails>
Details for the artifacts, such as application files, to be worked on by the action. For example, the minimum and maximum number of input artifacts allowed.
sourcepub fn output_artifact_details(self, input: ActionTypeArtifactDetails) -> Self
pub fn output_artifact_details(self, input: ActionTypeArtifactDetails) -> Self
Details for the output artifacts, such as a built application, that are the result of the action. For example, the minimum and maximum number of output artifacts allowed.
sourcepub fn set_output_artifact_details(
self,
input: Option<ActionTypeArtifactDetails>
) -> Self
pub fn set_output_artifact_details( self, input: Option<ActionTypeArtifactDetails> ) -> Self
Details for the output artifacts, such as a built application, that are the result of the action. For example, the minimum and maximum number of output artifacts allowed.
sourcepub fn get_output_artifact_details(&self) -> &Option<ActionTypeArtifactDetails>
pub fn get_output_artifact_details(&self) -> &Option<ActionTypeArtifactDetails>
Details for the output artifacts, such as a built application, that are the result of the action. For example, the minimum and maximum number of output artifacts allowed.
sourcepub fn permissions(self, input: ActionTypePermissions) -> Self
pub fn permissions(self, input: ActionTypePermissions) -> Self
Details identifying the accounts with permissions to use the action type.
sourcepub fn set_permissions(self, input: Option<ActionTypePermissions>) -> Self
pub fn set_permissions(self, input: Option<ActionTypePermissions>) -> Self
Details identifying the accounts with permissions to use the action type.
sourcepub fn get_permissions(&self) -> &Option<ActionTypePermissions>
pub fn get_permissions(&self) -> &Option<ActionTypePermissions>
Details identifying the accounts with permissions to use the action type.
sourcepub fn properties(self, input: ActionTypeProperty) -> Self
pub fn properties(self, input: ActionTypeProperty) -> Self
Appends an item to properties
.
To override the contents of this collection use set_properties
.
The properties of the action type to be updated.
sourcepub fn set_properties(self, input: Option<Vec<ActionTypeProperty>>) -> Self
pub fn set_properties(self, input: Option<Vec<ActionTypeProperty>>) -> Self
The properties of the action type to be updated.
sourcepub fn get_properties(&self) -> &Option<Vec<ActionTypeProperty>>
pub fn get_properties(&self) -> &Option<Vec<ActionTypeProperty>>
The properties of the action type to be updated.
sourcepub fn urls(self, input: ActionTypeUrls) -> Self
pub fn urls(self, input: ActionTypeUrls) -> Self
The links associated with the action type to be updated.
sourcepub fn set_urls(self, input: Option<ActionTypeUrls>) -> Self
pub fn set_urls(self, input: Option<ActionTypeUrls>) -> Self
The links associated with the action type to be updated.
sourcepub fn get_urls(&self) -> &Option<ActionTypeUrls>
pub fn get_urls(&self) -> &Option<ActionTypeUrls>
The links associated with the action type to be updated.
sourcepub fn build(self) -> ActionTypeDeclaration
pub fn build(self) -> ActionTypeDeclaration
Consumes the builder and constructs a ActionTypeDeclaration
.
Trait Implementations§
source§impl Clone for ActionTypeDeclarationBuilder
impl Clone for ActionTypeDeclarationBuilder
source§fn clone(&self) -> ActionTypeDeclarationBuilder
fn clone(&self) -> ActionTypeDeclarationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ActionTypeDeclarationBuilder
impl Debug for ActionTypeDeclarationBuilder
source§impl Default for ActionTypeDeclarationBuilder
impl Default for ActionTypeDeclarationBuilder
source§fn default() -> ActionTypeDeclarationBuilder
fn default() -> ActionTypeDeclarationBuilder
source§impl PartialEq<ActionTypeDeclarationBuilder> for ActionTypeDeclarationBuilder
impl PartialEq<ActionTypeDeclarationBuilder> for ActionTypeDeclarationBuilder
source§fn eq(&self, other: &ActionTypeDeclarationBuilder) -> bool
fn eq(&self, other: &ActionTypeDeclarationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.