pub struct Builder { /* private fields */ }
Expand description
A builder for MonitoredResourceIdentifier
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn monitored_resource_name(self, input: impl Into<String>) -> Self
pub fn monitored_resource_name(self, input: impl Into<String>) -> Self
The name of the resource being monitored.
sourcepub fn set_monitored_resource_name(self, input: Option<String>) -> Self
pub fn set_monitored_resource_name(self, input: Option<String>) -> Self
The name of the resource being monitored.
sourcepub fn resource_permission(self, input: ResourcePermission) -> Self
pub fn resource_permission(self, input: ResourcePermission) -> Self
The permission status of a resource.
sourcepub fn set_resource_permission(self, input: Option<ResourcePermission>) -> Self
pub fn set_resource_permission(self, input: Option<ResourcePermission>) -> Self
The permission status of a resource.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time at which DevOps Guru last updated this resource.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time at which DevOps Guru last updated this resource.
sourcepub fn resource_collection(self, input: ResourceCollection) -> Self
pub fn resource_collection(self, input: ResourceCollection) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
pub fn set_resource_collection(self, input: Option<ResourceCollection>) -> Self
A collection of Amazon Web Services resources supported by DevOps Guru. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services CloudFormation stacks.
sourcepub fn build(self) -> MonitoredResourceIdentifier
pub fn build(self) -> MonitoredResourceIdentifier
Consumes the builder and constructs a MonitoredResourceIdentifier
.