Struct aws_sdk_shield::input::update_subscription_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UpdateSubscriptionInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn auto_renew(self, input: AutoRenew) -> Self
pub fn auto_renew(self, input: AutoRenew) -> Self
When you initally create a subscription, AutoRenew
is set to ENABLED
. If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value for AutoRenew
, the existing value for AutoRenew
remains unchanged.
sourcepub fn set_auto_renew(self, input: Option<AutoRenew>) -> Self
pub fn set_auto_renew(self, input: Option<AutoRenew>) -> Self
When you initally create a subscription, AutoRenew
is set to ENABLED
. If ENABLED
, the subscription will be automatically renewed at the end of the existing subscription period. You can change this by submitting an UpdateSubscription
request. If the UpdateSubscription
request does not included a value for AutoRenew
, the existing value for AutoRenew
remains unchanged.
sourcepub fn build(self) -> Result<UpdateSubscriptionInput, BuildError>
pub fn build(self) -> Result<UpdateSubscriptionInput, BuildError>
Consumes the builder and constructs a UpdateSubscriptionInput
.