#[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 ==.