#[non_exhaustive]pub struct LogicalResourceIdBuilder { /* private fields */ }Expand description
A builder for LogicalResourceId.
Implementations§
source§impl LogicalResourceIdBuilder
impl LogicalResourceIdBuilder
sourcepub fn identifier(self, input: impl Into<String>) -> Self
pub fn identifier(self, input: impl Into<String>) -> Self
Identifier of the resource.
This field is required.sourcepub fn set_identifier(self, input: Option<String>) -> Self
pub fn set_identifier(self, input: Option<String>) -> Self
Identifier of the resource.
sourcepub fn get_identifier(&self) -> &Option<String>
pub fn get_identifier(&self) -> &Option<String>
Identifier of the resource.
sourcepub fn logical_stack_name(self, input: impl Into<String>) -> Self
pub fn logical_stack_name(self, input: impl Into<String>) -> Self
The name of the CloudFormation stack this resource belongs to.
sourcepub fn set_logical_stack_name(self, input: Option<String>) -> Self
pub fn set_logical_stack_name(self, input: Option<String>) -> Self
The name of the CloudFormation stack this resource belongs to.
sourcepub fn get_logical_stack_name(&self) -> &Option<String>
pub fn get_logical_stack_name(&self) -> &Option<String>
The name of the CloudFormation stack this resource belongs to.
sourcepub fn resource_group_name(self, input: impl Into<String>) -> Self
pub fn resource_group_name(self, input: impl Into<String>) -> Self
The name of the resource group that this resource belongs to.
sourcepub fn set_resource_group_name(self, input: Option<String>) -> Self
pub fn set_resource_group_name(self, input: Option<String>) -> Self
The name of the resource group that this resource belongs to.
sourcepub fn get_resource_group_name(&self) -> &Option<String>
pub fn get_resource_group_name(&self) -> &Option<String>
The name of the resource group that this resource belongs to.
sourcepub fn terraform_source_name(self, input: impl Into<String>) -> Self
pub fn terraform_source_name(self, input: impl Into<String>) -> Self
The name of the Terraform S3 state file this resource belongs to.
sourcepub fn set_terraform_source_name(self, input: Option<String>) -> Self
pub fn set_terraform_source_name(self, input: Option<String>) -> Self
The name of the Terraform S3 state file this resource belongs to.
sourcepub fn get_terraform_source_name(&self) -> &Option<String>
pub fn get_terraform_source_name(&self) -> &Option<String>
The name of the Terraform S3 state file this resource belongs to.
sourcepub fn eks_source_name(self, input: impl Into<String>) -> Self
pub fn eks_source_name(self, input: impl Into<String>) -> Self
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
sourcepub fn set_eks_source_name(self, input: Option<String>) -> Self
pub fn set_eks_source_name(self, input: Option<String>) -> Self
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
sourcepub fn get_eks_source_name(&self) -> &Option<String>
pub fn get_eks_source_name(&self) -> &Option<String>
Name of the Amazon Elastic Kubernetes Service cluster and namespace this resource belongs to.
This parameter accepts values in "eks-cluster/namespace" format.
sourcepub fn build(self) -> Result<LogicalResourceId, BuildError>
pub fn build(self) -> Result<LogicalResourceId, BuildError>
Consumes the builder and constructs a LogicalResourceId.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for LogicalResourceIdBuilder
impl Clone for LogicalResourceIdBuilder
source§fn clone(&self) -> LogicalResourceIdBuilder
fn clone(&self) -> LogicalResourceIdBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for LogicalResourceIdBuilder
impl Debug for LogicalResourceIdBuilder
source§impl Default for LogicalResourceIdBuilder
impl Default for LogicalResourceIdBuilder
source§fn default() -> LogicalResourceIdBuilder
fn default() -> LogicalResourceIdBuilder
source§impl PartialEq for LogicalResourceIdBuilder
impl PartialEq for LogicalResourceIdBuilder
source§fn eq(&self, other: &LogicalResourceIdBuilder) -> bool
fn eq(&self, other: &LogicalResourceIdBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogicalResourceIdBuilder
Auto Trait Implementations§
impl Freeze for LogicalResourceIdBuilder
impl RefUnwindSafe for LogicalResourceIdBuilder
impl Send for LogicalResourceIdBuilder
impl Sync for LogicalResourceIdBuilder
impl Unpin for LogicalResourceIdBuilder
impl UnwindSafe for LogicalResourceIdBuilder
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