Struct aws_sdk_servicecatalog::types::builders::RecordDetailBuilder
source · #[non_exhaustive]pub struct RecordDetailBuilder { /* private fields */ }
Expand description
A builder for RecordDetail
.
Implementations§
source§impl RecordDetailBuilder
impl RecordDetailBuilder
sourcepub fn set_record_id(self, input: Option<String>) -> Self
pub fn set_record_id(self, input: Option<String>) -> Self
The identifier of the record.
sourcepub fn get_record_id(&self) -> &Option<String>
pub fn get_record_id(&self) -> &Option<String>
The identifier of the record.
sourcepub fn provisioned_product_name(self, input: impl Into<String>) -> Self
pub fn provisioned_product_name(self, input: impl Into<String>) -> Self
The user-friendly name of the provisioned product.
sourcepub fn set_provisioned_product_name(self, input: Option<String>) -> Self
pub fn set_provisioned_product_name(self, input: Option<String>) -> Self
The user-friendly name of the provisioned product.
sourcepub fn get_provisioned_product_name(&self) -> &Option<String>
pub fn get_provisioned_product_name(&self) -> &Option<String>
The user-friendly name of the provisioned product.
sourcepub fn status(self, input: RecordStatus) -> Self
pub fn status(self, input: RecordStatus) -> Self
The status of the provisioned product.
-
CREATED
- The request was created but the operation has not started. -
IN_PROGRESS
- The requested operation is in progress. -
IN_PROGRESS_IN_ERROR
- The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. -
SUCCEEDED
- The requested operation has successfully completed. -
FAILED
- The requested operation has unsuccessfully completed. Investigate using the error messages returned.
sourcepub fn set_status(self, input: Option<RecordStatus>) -> Self
pub fn set_status(self, input: Option<RecordStatus>) -> Self
The status of the provisioned product.
-
CREATED
- The request was created but the operation has not started. -
IN_PROGRESS
- The requested operation is in progress. -
IN_PROGRESS_IN_ERROR
- The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. -
SUCCEEDED
- The requested operation has successfully completed. -
FAILED
- The requested operation has unsuccessfully completed. Investigate using the error messages returned.
sourcepub fn get_status(&self) -> &Option<RecordStatus>
pub fn get_status(&self) -> &Option<RecordStatus>
The status of the provisioned product.
-
CREATED
- The request was created but the operation has not started. -
IN_PROGRESS
- The requested operation is in progress. -
IN_PROGRESS_IN_ERROR
- The provisioned product is under change but the requested operation failed and some remediation is occurring. For example, a rollback. -
SUCCEEDED
- The requested operation has successfully completed. -
FAILED
- The requested operation has unsuccessfully completed. Investigate using the error messages returned.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The UTC time stamp of the creation time.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The UTC time stamp of the creation time.
sourcepub fn get_created_time(&self) -> &Option<DateTime>
pub fn get_created_time(&self) -> &Option<DateTime>
The UTC time stamp of the creation time.
sourcepub fn updated_time(self, input: DateTime) -> Self
pub fn updated_time(self, input: DateTime) -> Self
The time when the record was last updated.
sourcepub fn set_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_updated_time(self, input: Option<DateTime>) -> Self
The time when the record was last updated.
sourcepub fn get_updated_time(&self) -> &Option<DateTime>
pub fn get_updated_time(&self) -> &Option<DateTime>
The time when the record was last updated.
sourcepub fn provisioned_product_type(self, input: impl Into<String>) -> Self
pub fn provisioned_product_type(self, input: impl Into<String>) -> Self
The type of provisioned product. The supported values are CFN_STACK
, CFN_STACKSET
, TERRAFORM_OPEN_SOURCE
, TERRAFORM_CLOUD
, and EXTERNAL
.
sourcepub fn set_provisioned_product_type(self, input: Option<String>) -> Self
pub fn set_provisioned_product_type(self, input: Option<String>) -> Self
The type of provisioned product. The supported values are CFN_STACK
, CFN_STACKSET
, TERRAFORM_OPEN_SOURCE
, TERRAFORM_CLOUD
, and EXTERNAL
.
sourcepub fn get_provisioned_product_type(&self) -> &Option<String>
pub fn get_provisioned_product_type(&self) -> &Option<String>
The type of provisioned product. The supported values are CFN_STACK
, CFN_STACKSET
, TERRAFORM_OPEN_SOURCE
, TERRAFORM_CLOUD
, and EXTERNAL
.
sourcepub fn record_type(self, input: impl Into<String>) -> Self
pub fn record_type(self, input: impl Into<String>) -> Self
The record type.
-
PROVISION_PRODUCT
-
UPDATE_PROVISIONED_PRODUCT
-
TERMINATE_PROVISIONED_PRODUCT
sourcepub fn set_record_type(self, input: Option<String>) -> Self
pub fn set_record_type(self, input: Option<String>) -> Self
The record type.
-
PROVISION_PRODUCT
-
UPDATE_PROVISIONED_PRODUCT
-
TERMINATE_PROVISIONED_PRODUCT
sourcepub fn get_record_type(&self) -> &Option<String>
pub fn get_record_type(&self) -> &Option<String>
The record type.
-
PROVISION_PRODUCT
-
UPDATE_PROVISIONED_PRODUCT
-
TERMINATE_PROVISIONED_PRODUCT
sourcepub fn provisioned_product_id(self, input: impl Into<String>) -> Self
pub fn provisioned_product_id(self, input: impl Into<String>) -> Self
The identifier of the provisioned product.
sourcepub fn set_provisioned_product_id(self, input: Option<String>) -> Self
pub fn set_provisioned_product_id(self, input: Option<String>) -> Self
The identifier of the provisioned product.
sourcepub fn get_provisioned_product_id(&self) -> &Option<String>
pub fn get_provisioned_product_id(&self) -> &Option<String>
The identifier of the provisioned product.
sourcepub fn product_id(self, input: impl Into<String>) -> Self
pub fn product_id(self, input: impl Into<String>) -> Self
The product identifier.
sourcepub fn set_product_id(self, input: Option<String>) -> Self
pub fn set_product_id(self, input: Option<String>) -> Self
The product identifier.
sourcepub fn get_product_id(&self) -> &Option<String>
pub fn get_product_id(&self) -> &Option<String>
The product identifier.
sourcepub fn provisioning_artifact_id(self, input: impl Into<String>) -> Self
pub fn provisioning_artifact_id(self, input: impl Into<String>) -> Self
The identifier of the provisioning artifact.
sourcepub fn set_provisioning_artifact_id(self, input: Option<String>) -> Self
pub fn set_provisioning_artifact_id(self, input: Option<String>) -> Self
The identifier of the provisioning artifact.
sourcepub fn get_provisioning_artifact_id(&self) -> &Option<String>
pub fn get_provisioning_artifact_id(&self) -> &Option<String>
The identifier of the provisioning artifact.
sourcepub fn set_path_id(self, input: Option<String>) -> Self
pub fn set_path_id(self, input: Option<String>) -> Self
The path identifier.
sourcepub fn get_path_id(&self) -> &Option<String>
pub fn get_path_id(&self) -> &Option<String>
The path identifier.
sourcepub fn record_errors(self, input: RecordError) -> Self
pub fn record_errors(self, input: RecordError) -> Self
Appends an item to record_errors
.
To override the contents of this collection use set_record_errors
.
The errors that occurred.
sourcepub fn set_record_errors(self, input: Option<Vec<RecordError>>) -> Self
pub fn set_record_errors(self, input: Option<Vec<RecordError>>) -> Self
The errors that occurred.
sourcepub fn get_record_errors(&self) -> &Option<Vec<RecordError>>
pub fn get_record_errors(&self) -> &Option<Vec<RecordError>>
The errors that occurred.
Appends an item to record_tags
.
To override the contents of this collection use set_record_tags
.
One or more tags.
One or more tags.
One or more tags.
sourcepub fn launch_role_arn(self, input: impl Into<String>) -> Self
pub fn launch_role_arn(self, input: impl Into<String>) -> Self
The ARN of the launch role associated with the provisioned product.
sourcepub fn set_launch_role_arn(self, input: Option<String>) -> Self
pub fn set_launch_role_arn(self, input: Option<String>) -> Self
The ARN of the launch role associated with the provisioned product.
sourcepub fn get_launch_role_arn(&self) -> &Option<String>
pub fn get_launch_role_arn(&self) -> &Option<String>
The ARN of the launch role associated with the provisioned product.
sourcepub fn build(self) -> RecordDetail
pub fn build(self) -> RecordDetail
Consumes the builder and constructs a RecordDetail
.
Trait Implementations§
source§impl Clone for RecordDetailBuilder
impl Clone for RecordDetailBuilder
source§fn clone(&self) -> RecordDetailBuilder
fn clone(&self) -> RecordDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecordDetailBuilder
impl Debug for RecordDetailBuilder
source§impl Default for RecordDetailBuilder
impl Default for RecordDetailBuilder
source§fn default() -> RecordDetailBuilder
fn default() -> RecordDetailBuilder
source§impl PartialEq for RecordDetailBuilder
impl PartialEq for RecordDetailBuilder
source§fn eq(&self, other: &RecordDetailBuilder) -> bool
fn eq(&self, other: &RecordDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecordDetailBuilder
Auto Trait Implementations§
impl Freeze for RecordDetailBuilder
impl RefUnwindSafe for RecordDetailBuilder
impl Send for RecordDetailBuilder
impl Sync for RecordDetailBuilder
impl Unpin for RecordDetailBuilder
impl UnwindSafe for RecordDetailBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more