Struct aws_sdk_config::model::resource_details::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for ResourceDetails.
Implementations§
source§impl Builder
impl Builder
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.
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.
sourcepub fn build(self) -> ResourceDetails
pub fn build(self) -> ResourceDetails
Consumes the builder and constructs a ResourceDetails.