Struct aws_sdk_proton::types::builders::ComponentBuilder
source · #[non_exhaustive]pub struct ComponentBuilder { /* private fields */ }
Expand description
A builder for Component
.
Implementations§
source§impl ComponentBuilder
impl ComponentBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the component.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the component.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the component.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the component.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the component.
sourcepub fn environment_name(self, input: impl Into<String>) -> Self
pub fn environment_name(self, input: impl Into<String>) -> Self
The name of the Proton environment that this component is associated with.
sourcepub fn set_environment_name(self, input: Option<String>) -> Self
pub fn set_environment_name(self, input: Option<String>) -> Self
The name of the Proton environment that this component is associated with.
sourcepub fn get_environment_name(&self) -> &Option<String>
pub fn get_environment_name(&self) -> &Option<String>
The name of the Proton environment that this component is associated with.
sourcepub fn service_name(self, input: impl Into<String>) -> Self
pub fn service_name(self, input: impl Into<String>) -> Self
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
sourcepub fn set_service_name(self, input: Option<String>) -> Self
pub fn set_service_name(self, input: Option<String>) -> Self
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
sourcepub fn get_service_name(&self) -> &Option<String>
pub fn get_service_name(&self) -> &Option<String>
The name of the service that serviceInstanceName
is associated with. Provided when a component is attached to a service instance.
sourcepub fn service_instance_name(self, input: impl Into<String>) -> Self
pub fn service_instance_name(self, input: impl Into<String>) -> Self
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn set_service_instance_name(self, input: Option<String>) -> Self
pub fn set_service_instance_name(self, input: Option<String>) -> Self
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn get_service_instance_name(&self) -> &Option<String>
pub fn get_service_instance_name(&self) -> &Option<String>
The name of the service instance that this component is attached to. Provided when a component is attached to a service instance.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The time when the component was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The time when the component was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The time when the component was created.
sourcepub fn last_modified_at(self, input: DateTime) -> Self
pub fn last_modified_at(self, input: DateTime) -> Self
The time when the component was last modified.
sourcepub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
pub fn set_last_modified_at(self, input: Option<DateTime>) -> Self
The time when the component was last modified.
sourcepub fn get_last_modified_at(&self) -> &Option<DateTime>
pub fn get_last_modified_at(&self) -> &Option<DateTime>
The time when the component was last modified.
sourcepub fn last_deployment_attempted_at(self, input: DateTime) -> Self
pub fn last_deployment_attempted_at(self, input: DateTime) -> Self
The time when a deployment of the component was last attempted.
sourcepub fn set_last_deployment_attempted_at(self, input: Option<DateTime>) -> Self
pub fn set_last_deployment_attempted_at(self, input: Option<DateTime>) -> Self
The time when a deployment of the component was last attempted.
sourcepub fn get_last_deployment_attempted_at(&self) -> &Option<DateTime>
pub fn get_last_deployment_attempted_at(&self) -> &Option<DateTime>
The time when a deployment of the component was last attempted.
sourcepub fn last_deployment_succeeded_at(self, input: DateTime) -> Self
pub fn last_deployment_succeeded_at(self, input: DateTime) -> Self
The time when the component was last deployed successfully.
sourcepub fn set_last_deployment_succeeded_at(self, input: Option<DateTime>) -> Self
pub fn set_last_deployment_succeeded_at(self, input: Option<DateTime>) -> Self
The time when the component was last deployed successfully.
sourcepub fn get_last_deployment_succeeded_at(&self) -> &Option<DateTime>
pub fn get_last_deployment_succeeded_at(&self) -> &Option<DateTime>
The time when the component was last deployed successfully.
sourcepub fn deployment_status(self, input: DeploymentStatus) -> Self
pub fn deployment_status(self, input: DeploymentStatus) -> Self
The component deployment status.
sourcepub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
pub fn set_deployment_status(self, input: Option<DeploymentStatus>) -> Self
The component deployment status.
sourcepub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
pub fn get_deployment_status(&self) -> &Option<DeploymentStatus>
The component deployment status.
sourcepub fn deployment_status_message(self, input: impl Into<String>) -> Self
pub fn deployment_status_message(self, input: impl Into<String>) -> Self
The message associated with the component deployment status.
sourcepub fn set_deployment_status_message(self, input: Option<String>) -> Self
pub fn set_deployment_status_message(self, input: Option<String>) -> Self
The message associated with the component deployment status.
sourcepub fn get_deployment_status_message(&self) -> &Option<String>
pub fn get_deployment_status_message(&self) -> &Option<String>
The message associated with the component deployment status.
sourcepub fn service_spec(self, input: impl Into<String>) -> Self
pub fn service_spec(self, input: impl Into<String>) -> Self
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
sourcepub fn set_service_spec(self, input: Option<String>) -> Self
pub fn set_service_spec(self, input: Option<String>) -> Self
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
sourcepub fn get_service_spec(&self) -> &Option<String>
pub fn get_service_spec(&self) -> &Option<String>
The service spec that the component uses to access service inputs. Provided when a component is attached to a service instance.
sourcepub fn last_client_request_token(self, input: impl Into<String>) -> Self
pub fn last_client_request_token(self, input: impl Into<String>) -> Self
The last token the client requested.
sourcepub fn set_last_client_request_token(self, input: Option<String>) -> Self
pub fn set_last_client_request_token(self, input: Option<String>) -> Self
The last token the client requested.
sourcepub fn get_last_client_request_token(&self) -> &Option<String>
pub fn get_last_client_request_token(&self) -> &Option<String>
The last token the client requested.
sourcepub fn last_attempted_deployment_id(self, input: impl Into<String>) -> Self
pub fn last_attempted_deployment_id(self, input: impl Into<String>) -> Self
The ID of the last attempted deployment of this component.
sourcepub fn set_last_attempted_deployment_id(self, input: Option<String>) -> Self
pub fn set_last_attempted_deployment_id(self, input: Option<String>) -> Self
The ID of the last attempted deployment of this component.
sourcepub fn get_last_attempted_deployment_id(&self) -> &Option<String>
pub fn get_last_attempted_deployment_id(&self) -> &Option<String>
The ID of the last attempted deployment of this component.
sourcepub fn last_succeeded_deployment_id(self, input: impl Into<String>) -> Self
pub fn last_succeeded_deployment_id(self, input: impl Into<String>) -> Self
The ID of the last successful deployment of this component.
sourcepub fn set_last_succeeded_deployment_id(self, input: Option<String>) -> Self
pub fn set_last_succeeded_deployment_id(self, input: Option<String>) -> Self
The ID of the last successful deployment of this component.
sourcepub fn get_last_succeeded_deployment_id(&self) -> &Option<String>
pub fn get_last_succeeded_deployment_id(&self) -> &Option<String>
The ID of the last successful deployment of this component.
Trait Implementations§
source§impl Clone for ComponentBuilder
impl Clone for ComponentBuilder
source§fn clone(&self) -> ComponentBuilder
fn clone(&self) -> ComponentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ComponentBuilder
impl Debug for ComponentBuilder
source§impl Default for ComponentBuilder
impl Default for ComponentBuilder
source§fn default() -> ComponentBuilder
fn default() -> ComponentBuilder
source§impl PartialEq for ComponentBuilder
impl PartialEq for ComponentBuilder
source§fn eq(&self, other: &ComponentBuilder) -> bool
fn eq(&self, other: &ComponentBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.