#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct PutHubConfigurationInput {
pub hub_token_timer_expiry_setting_in_seconds: ::std::option::Option<i64>,
}
impl PutHubConfigurationInput {
pub fn hub_token_timer_expiry_setting_in_seconds(&self) -> ::std::option::Option<i64> {
self.hub_token_timer_expiry_setting_in_seconds
}
}
impl PutHubConfigurationInput {
pub fn builder() -> crate::operation::put_hub_configuration::builders::PutHubConfigurationInputBuilder {
crate::operation::put_hub_configuration::builders::PutHubConfigurationInputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct PutHubConfigurationInputBuilder {
pub(crate) hub_token_timer_expiry_setting_in_seconds: ::std::option::Option<i64>,
}
impl PutHubConfigurationInputBuilder {
pub fn hub_token_timer_expiry_setting_in_seconds(mut self, input: i64) -> Self {
self.hub_token_timer_expiry_setting_in_seconds = ::std::option::Option::Some(input);
self
}
pub fn set_hub_token_timer_expiry_setting_in_seconds(mut self, input: ::std::option::Option<i64>) -> Self {
self.hub_token_timer_expiry_setting_in_seconds = input;
self
}
pub fn get_hub_token_timer_expiry_setting_in_seconds(&self) -> &::std::option::Option<i64> {
&self.hub_token_timer_expiry_setting_in_seconds
}
pub fn build(
self,
) -> ::std::result::Result<crate::operation::put_hub_configuration::PutHubConfigurationInput, ::aws_smithy_types::error::operation::BuildError>
{
::std::result::Result::Ok(crate::operation::put_hub_configuration::PutHubConfigurationInput {
hub_token_timer_expiry_setting_in_seconds: self.hub_token_timer_expiry_setting_in_seconds,
})
}
}