pub struct Builder { /* private fields */ }Expand description
A builder for Product.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn product_arn(self, input: impl Into<String>) -> Self
pub fn product_arn(self, input: impl Into<String>) -> Self
The ARN assigned to the product.
sourcepub fn set_product_arn(self, input: Option<String>) -> Self
pub fn set_product_arn(self, input: Option<String>) -> Self
The ARN assigned to the product.
sourcepub fn product_name(self, input: impl Into<String>) -> Self
pub fn product_name(self, input: impl Into<String>) -> Self
The name of the product.
sourcepub fn set_product_name(self, input: Option<String>) -> Self
pub fn set_product_name(self, input: Option<String>) -> Self
The name of the product.
sourcepub fn company_name(self, input: impl Into<String>) -> Self
pub fn company_name(self, input: impl Into<String>) -> Self
The name of the company that provides the product.
sourcepub fn set_company_name(self, input: Option<String>) -> Self
pub fn set_company_name(self, input: Option<String>) -> Self
The name of the company that provides the product.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the product.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the product.
sourcepub fn categories(self, input: impl Into<String>) -> Self
pub fn categories(self, input: impl Into<String>) -> Self
Appends an item to categories.
To override the contents of this collection use set_categories.
The categories assigned to the product.
sourcepub fn set_categories(self, input: Option<Vec<String>>) -> Self
pub fn set_categories(self, input: Option<Vec<String>>) -> Self
The categories assigned to the product.
sourcepub fn integration_types(self, input: IntegrationType) -> Self
pub fn integration_types(self, input: IntegrationType) -> Self
Appends an item to integration_types.
To override the contents of this collection use set_integration_types.
The types of integration that the product supports. Available values are the following.
-
SEND_FINDINGS_TO_SECURITY_HUB- The integration sends findings to Security Hub. -
RECEIVE_FINDINGS_FROM_SECURITY_HUB- The integration receives findings from Security Hub. -
UPDATE_FINDINGS_IN_SECURITY_HUB- The integration does not send new findings to Security Hub, but does make updates to the findings that it receives from Security Hub.
sourcepub fn set_integration_types(self, input: Option<Vec<IntegrationType>>) -> Self
pub fn set_integration_types(self, input: Option<Vec<IntegrationType>>) -> Self
The types of integration that the product supports. Available values are the following.
-
SEND_FINDINGS_TO_SECURITY_HUB- The integration sends findings to Security Hub. -
RECEIVE_FINDINGS_FROM_SECURITY_HUB- The integration receives findings from Security Hub. -
UPDATE_FINDINGS_IN_SECURITY_HUB- The integration does not send new findings to Security Hub, but does make updates to the findings that it receives from Security Hub.
sourcepub fn marketplace_url(self, input: impl Into<String>) -> Self
pub fn marketplace_url(self, input: impl Into<String>) -> Self
For integrations with Amazon Web Services services, the Amazon Web Services Console URL from which to activate the service.
For integrations with third-party products, the Amazon Web Services Marketplace URL from which to subscribe to or purchase the product.
sourcepub fn set_marketplace_url(self, input: Option<String>) -> Self
pub fn set_marketplace_url(self, input: Option<String>) -> Self
For integrations with Amazon Web Services services, the Amazon Web Services Console URL from which to activate the service.
For integrations with third-party products, the Amazon Web Services Marketplace URL from which to subscribe to or purchase the product.
sourcepub fn activation_url(self, input: impl Into<String>) -> Self
pub fn activation_url(self, input: impl Into<String>) -> Self
The URL to the service or product documentation about the integration with Security Hub, including how to activate the integration.
sourcepub fn set_activation_url(self, input: Option<String>) -> Self
pub fn set_activation_url(self, input: Option<String>) -> Self
The URL to the service or product documentation about the integration with Security Hub, including how to activate the integration.
sourcepub fn product_subscription_resource_policy(
self,
input: impl Into<String>
) -> Self
pub fn product_subscription_resource_policy(
self,
input: impl Into<String>
) -> Self
The resource policy associated with the product.
sourcepub fn set_product_subscription_resource_policy(
self,
input: Option<String>
) -> Self
pub fn set_product_subscription_resource_policy(
self,
input: Option<String>
) -> Self
The resource policy associated with the product.
Trait Implementations
sourceimpl PartialEq<Builder> for Builder
impl PartialEq<Builder> for Builder
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more