#[non_exhaustive]pub struct PipeTargetEventBridgeEventBusParametersBuilder { /* private fields */ }
Expand description
A builder for PipeTargetEventBridgeEventBusParameters
.
Implementations§
source§impl PipeTargetEventBridgeEventBusParametersBuilder
impl PipeTargetEventBridgeEventBusParametersBuilder
sourcepub fn endpoint_id(self, input: impl Into<String>) -> Self
pub fn endpoint_id(self, input: impl Into<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn set_endpoint_id(self, input: Option<String>) -> Self
pub fn set_endpoint_id(self, input: Option<String>) -> Self
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn get_endpoint_id(&self) -> &Option<String>
pub fn get_endpoint_id(&self) -> &Option<String>
The URL subdomain of the endpoint. For example, if the URL for Endpoint is https://abcde.veo.endpoints.event.amazonaws.com, then the EndpointId is abcde.veo
.
sourcepub fn detail_type(self, input: impl Into<String>) -> Self
pub fn detail_type(self, input: impl Into<String>) -> Self
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
sourcepub fn set_detail_type(self, input: Option<String>) -> Self
pub fn set_detail_type(self, input: Option<String>) -> Self
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
sourcepub fn get_detail_type(&self) -> &Option<String>
pub fn get_detail_type(&self) -> &Option<String>
A free-form string, with a maximum of 128 characters, used to decide what fields to expect in the event detail.
sourcepub fn set_source(self, input: Option<String>) -> Self
pub fn set_source(self, input: Option<String>) -> Self
The source of the event.
sourcepub fn get_source(&self) -> &Option<String>
pub fn get_source(&self) -> &Option<String>
The source of the event.
sourcepub fn resources(self, input: impl Into<String>) -> Self
pub fn resources(self, input: impl Into<String>) -> Self
Appends an item to resources
.
To override the contents of this collection use set_resources
.
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
sourcepub fn set_resources(self, input: Option<Vec<String>>) -> Self
pub fn set_resources(self, input: Option<Vec<String>>) -> Self
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
sourcepub fn get_resources(&self) -> &Option<Vec<String>>
pub fn get_resources(&self) -> &Option<Vec<String>>
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
sourcepub fn build(self) -> PipeTargetEventBridgeEventBusParameters
pub fn build(self) -> PipeTargetEventBridgeEventBusParameters
Consumes the builder and constructs a PipeTargetEventBridgeEventBusParameters
.
Trait Implementations§
source§impl Clone for PipeTargetEventBridgeEventBusParametersBuilder
impl Clone for PipeTargetEventBridgeEventBusParametersBuilder
source§fn clone(&self) -> PipeTargetEventBridgeEventBusParametersBuilder
fn clone(&self) -> PipeTargetEventBridgeEventBusParametersBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for PipeTargetEventBridgeEventBusParametersBuilder
impl Default for PipeTargetEventBridgeEventBusParametersBuilder
source§fn default() -> PipeTargetEventBridgeEventBusParametersBuilder
fn default() -> PipeTargetEventBridgeEventBusParametersBuilder
source§impl PartialEq for PipeTargetEventBridgeEventBusParametersBuilder
impl PartialEq for PipeTargetEventBridgeEventBusParametersBuilder
source§fn eq(&self, other: &PipeTargetEventBridgeEventBusParametersBuilder) -> bool
fn eq(&self, other: &PipeTargetEventBridgeEventBusParametersBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.