Struct aws_sdk_devopsguru::model::event_resource::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for EventResource
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The type of resource that emitted an event.
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The type of resource that emitted an event.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the resource that emitted an event.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the resource that emitted an event.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the resource that emitted an event.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the resource that emitted an event.
sourcepub fn build(self) -> EventResource
pub fn build(self) -> EventResource
Consumes the builder and constructs a EventResource
.