pub struct Builder { /* private fields */ }Expand description
A builder for RegisterApplicationRevisionInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn application_name(self, input: impl Into<String>) -> Self
pub fn application_name(self, input: impl Into<String>) -> Self
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
sourcepub fn set_application_name(self, input: Option<String>) -> Self
pub fn set_application_name(self, input: Option<String>) -> Self
The name of an CodeDeploy application associated with the IAM user or Amazon Web Services account.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A comment about the revision.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A comment about the revision.
sourcepub fn revision(self, input: RevisionLocation) -> Self
pub fn revision(self, input: RevisionLocation) -> Self
Information about the application revision to register, including type and location.
sourcepub fn set_revision(self, input: Option<RevisionLocation>) -> Self
pub fn set_revision(self, input: Option<RevisionLocation>) -> Self
Information about the application revision to register, including type and location.
sourcepub fn build(self) -> Result<RegisterApplicationRevisionInput, BuildError>
pub fn build(self) -> Result<RegisterApplicationRevisionInput, BuildError>
Consumes the builder and constructs a RegisterApplicationRevisionInput.