Struct aws_sdk_config::types::builders::ResourceDetailsBuilder
source · #[non_exhaustive]pub struct ResourceDetailsBuilder { /* private fields */ }Expand description
A builder for ResourceDetails.
Implementations§
source§impl ResourceDetailsBuilder
impl ResourceDetailsBuilder
sourcepub fn resource_id(self, input: impl Into<String>) -> Self
pub fn resource_id(self, input: impl Into<String>) -> Self
A unique resource ID for an evaluation.
sourcepub fn set_resource_id(self, input: Option<String>) -> Self
pub fn set_resource_id(self, input: Option<String>) -> Self
A unique resource ID for an evaluation.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The type of resource being evaluated.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The type of resource being evaluated.
sourcepub fn resource_configuration(self, input: impl Into<String>) -> Self
pub fn resource_configuration(self, input: impl Into<String>) -> Self
The resource definition to be evaluated as per the resource configuration schema type.
sourcepub fn set_resource_configuration(self, input: Option<String>) -> Self
pub fn set_resource_configuration(self, input: Option<String>) -> Self
The resource definition to be evaluated as per the resource configuration schema type.
sourcepub fn resource_configuration_schema_type(
self,
input: ResourceConfigurationSchemaType
) -> Self
pub fn resource_configuration_schema_type( self, input: ResourceConfigurationSchemaType ) -> Self
The schema type of the resource configuration.
You can find the Resource type schema, or CFN_RESOURCE_SCHEMA, in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE.
For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.
sourcepub fn set_resource_configuration_schema_type(
self,
input: Option<ResourceConfigurationSchemaType>
) -> Self
pub fn set_resource_configuration_schema_type( self, input: Option<ResourceConfigurationSchemaType> ) -> Self
The schema type of the resource configuration.
You can find the Resource type schema, or CFN_RESOURCE_SCHEMA, in "Amazon Web Services public extensions" within the CloudFormation registry or with the following CLI commmand: aws cloudformation describe-type --type-name "AWS::S3::Bucket" --type RESOURCE.
For more information, see Managing extensions through the CloudFormation registry and Amazon Web Services resource and property types reference in the CloudFormation User Guide.
sourcepub fn build(self) -> ResourceDetails
pub fn build(self) -> ResourceDetails
Consumes the builder and constructs a ResourceDetails.
Trait Implementations§
source§impl Clone for ResourceDetailsBuilder
impl Clone for ResourceDetailsBuilder
source§fn clone(&self) -> ResourceDetailsBuilder
fn clone(&self) -> ResourceDetailsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResourceDetailsBuilder
impl Debug for ResourceDetailsBuilder
source§impl Default for ResourceDetailsBuilder
impl Default for ResourceDetailsBuilder
source§fn default() -> ResourceDetailsBuilder
fn default() -> ResourceDetailsBuilder
source§impl PartialEq<ResourceDetailsBuilder> for ResourceDetailsBuilder
impl PartialEq<ResourceDetailsBuilder> for ResourceDetailsBuilder
source§fn eq(&self, other: &ResourceDetailsBuilder) -> bool
fn eq(&self, other: &ResourceDetailsBuilder) -> bool
self and other values to be equal, and is used
by ==.