#[allow(missing_docs)] #[non_exhaustive]
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::fmt::Debug)]
pub struct GetBootstrapBrokersOutput {
pub bootstrap_broker_string: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_tls: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_sasl_scram: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_sasl_iam: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_public_tls: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_public_sasl_scram: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_public_sasl_iam: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_vpc_connectivity_tls: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_vpc_connectivity_sasl_scram: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_vpc_connectivity_sasl_iam: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_ipv6: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_tls_ipv6: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_sasl_scram_ipv6: ::std::option::Option<::std::string::String>,
pub bootstrap_broker_string_sasl_iam_ipv6: ::std::option::Option<::std::string::String>,
_request_id: Option<String>,
}
impl GetBootstrapBrokersOutput {
pub fn bootstrap_broker_string(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string.as_deref()
}
pub fn bootstrap_broker_string_tls(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_tls.as_deref()
}
pub fn bootstrap_broker_string_sasl_scram(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_sasl_scram.as_deref()
}
pub fn bootstrap_broker_string_sasl_iam(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_sasl_iam.as_deref()
}
pub fn bootstrap_broker_string_public_tls(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_public_tls.as_deref()
}
pub fn bootstrap_broker_string_public_sasl_scram(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_public_sasl_scram.as_deref()
}
pub fn bootstrap_broker_string_public_sasl_iam(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_public_sasl_iam.as_deref()
}
pub fn bootstrap_broker_string_vpc_connectivity_tls(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_vpc_connectivity_tls.as_deref()
}
pub fn bootstrap_broker_string_vpc_connectivity_sasl_scram(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_vpc_connectivity_sasl_scram.as_deref()
}
pub fn bootstrap_broker_string_vpc_connectivity_sasl_iam(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_vpc_connectivity_sasl_iam.as_deref()
}
pub fn bootstrap_broker_string_ipv6(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_ipv6.as_deref()
}
pub fn bootstrap_broker_string_tls_ipv6(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_tls_ipv6.as_deref()
}
pub fn bootstrap_broker_string_sasl_scram_ipv6(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_sasl_scram_ipv6.as_deref()
}
pub fn bootstrap_broker_string_sasl_iam_ipv6(&self) -> ::std::option::Option<&str> {
self.bootstrap_broker_string_sasl_iam_ipv6.as_deref()
}
}
impl ::aws_types::request_id::RequestId for GetBootstrapBrokersOutput {
fn request_id(&self) -> Option<&str> {
self._request_id.as_deref()
}
}
impl GetBootstrapBrokersOutput {
pub fn builder() -> crate::operation::get_bootstrap_brokers::builders::GetBootstrapBrokersOutputBuilder {
crate::operation::get_bootstrap_brokers::builders::GetBootstrapBrokersOutputBuilder::default()
}
}
#[derive(::std::clone::Clone, ::std::cmp::PartialEq, ::std::default::Default, ::std::fmt::Debug)]
#[non_exhaustive]
pub struct GetBootstrapBrokersOutputBuilder {
pub(crate) bootstrap_broker_string: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_tls: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_sasl_scram: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_sasl_iam: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_public_tls: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_public_sasl_scram: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_public_sasl_iam: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_vpc_connectivity_tls: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_vpc_connectivity_sasl_scram: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_vpc_connectivity_sasl_iam: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_ipv6: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_tls_ipv6: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_sasl_scram_ipv6: ::std::option::Option<::std::string::String>,
pub(crate) bootstrap_broker_string_sasl_iam_ipv6: ::std::option::Option<::std::string::String>,
_request_id: Option<String>,
}
impl GetBootstrapBrokersOutputBuilder {
pub fn bootstrap_broker_string(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string = input;
self
}
pub fn get_bootstrap_broker_string(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string
}
pub fn bootstrap_broker_string_tls(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_tls = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_tls(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_tls = input;
self
}
pub fn get_bootstrap_broker_string_tls(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_tls
}
pub fn bootstrap_broker_string_sasl_scram(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_scram = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_sasl_scram(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_scram = input;
self
}
pub fn get_bootstrap_broker_string_sasl_scram(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_sasl_scram
}
pub fn bootstrap_broker_string_sasl_iam(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_iam = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_sasl_iam(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_iam = input;
self
}
pub fn get_bootstrap_broker_string_sasl_iam(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_sasl_iam
}
pub fn bootstrap_broker_string_public_tls(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_tls = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_public_tls(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_tls = input;
self
}
pub fn get_bootstrap_broker_string_public_tls(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_public_tls
}
pub fn bootstrap_broker_string_public_sasl_scram(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_sasl_scram = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_public_sasl_scram(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_sasl_scram = input;
self
}
pub fn get_bootstrap_broker_string_public_sasl_scram(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_public_sasl_scram
}
pub fn bootstrap_broker_string_public_sasl_iam(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_sasl_iam = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_public_sasl_iam(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_public_sasl_iam = input;
self
}
pub fn get_bootstrap_broker_string_public_sasl_iam(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_public_sasl_iam
}
pub fn bootstrap_broker_string_vpc_connectivity_tls(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_tls = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_vpc_connectivity_tls(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_tls = input;
self
}
pub fn get_bootstrap_broker_string_vpc_connectivity_tls(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_vpc_connectivity_tls
}
pub fn bootstrap_broker_string_vpc_connectivity_sasl_scram(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_sasl_scram = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_vpc_connectivity_sasl_scram(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_sasl_scram = input;
self
}
pub fn get_bootstrap_broker_string_vpc_connectivity_sasl_scram(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_vpc_connectivity_sasl_scram
}
pub fn bootstrap_broker_string_vpc_connectivity_sasl_iam(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_sasl_iam = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_vpc_connectivity_sasl_iam(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_vpc_connectivity_sasl_iam = input;
self
}
pub fn get_bootstrap_broker_string_vpc_connectivity_sasl_iam(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_vpc_connectivity_sasl_iam
}
pub fn bootstrap_broker_string_ipv6(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_ipv6 = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_ipv6(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_ipv6 = input;
self
}
pub fn get_bootstrap_broker_string_ipv6(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_ipv6
}
pub fn bootstrap_broker_string_tls_ipv6(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_tls_ipv6 = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_tls_ipv6(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_tls_ipv6 = input;
self
}
pub fn get_bootstrap_broker_string_tls_ipv6(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_tls_ipv6
}
pub fn bootstrap_broker_string_sasl_scram_ipv6(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_scram_ipv6 = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_sasl_scram_ipv6(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_scram_ipv6 = input;
self
}
pub fn get_bootstrap_broker_string_sasl_scram_ipv6(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_sasl_scram_ipv6
}
pub fn bootstrap_broker_string_sasl_iam_ipv6(mut self, input: impl ::std::convert::Into<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_iam_ipv6 = ::std::option::Option::Some(input.into());
self
}
pub fn set_bootstrap_broker_string_sasl_iam_ipv6(mut self, input: ::std::option::Option<::std::string::String>) -> Self {
self.bootstrap_broker_string_sasl_iam_ipv6 = input;
self
}
pub fn get_bootstrap_broker_string_sasl_iam_ipv6(&self) -> &::std::option::Option<::std::string::String> {
&self.bootstrap_broker_string_sasl_iam_ipv6
}
pub(crate) fn _request_id(mut self, request_id: impl Into<String>) -> Self {
self._request_id = Some(request_id.into());
self
}
pub(crate) fn _set_request_id(&mut self, request_id: Option<String>) -> &mut Self {
self._request_id = request_id;
self
}
pub fn build(self) -> crate::operation::get_bootstrap_brokers::GetBootstrapBrokersOutput {
crate::operation::get_bootstrap_brokers::GetBootstrapBrokersOutput {
bootstrap_broker_string: self.bootstrap_broker_string,
bootstrap_broker_string_tls: self.bootstrap_broker_string_tls,
bootstrap_broker_string_sasl_scram: self.bootstrap_broker_string_sasl_scram,
bootstrap_broker_string_sasl_iam: self.bootstrap_broker_string_sasl_iam,
bootstrap_broker_string_public_tls: self.bootstrap_broker_string_public_tls,
bootstrap_broker_string_public_sasl_scram: self.bootstrap_broker_string_public_sasl_scram,
bootstrap_broker_string_public_sasl_iam: self.bootstrap_broker_string_public_sasl_iam,
bootstrap_broker_string_vpc_connectivity_tls: self.bootstrap_broker_string_vpc_connectivity_tls,
bootstrap_broker_string_vpc_connectivity_sasl_scram: self.bootstrap_broker_string_vpc_connectivity_sasl_scram,
bootstrap_broker_string_vpc_connectivity_sasl_iam: self.bootstrap_broker_string_vpc_connectivity_sasl_iam,
bootstrap_broker_string_ipv6: self.bootstrap_broker_string_ipv6,
bootstrap_broker_string_tls_ipv6: self.bootstrap_broker_string_tls_ipv6,
bootstrap_broker_string_sasl_scram_ipv6: self.bootstrap_broker_string_sasl_scram_ipv6,
bootstrap_broker_string_sasl_iam_ipv6: self.bootstrap_broker_string_sasl_iam_ipv6,
_request_id: self._request_id,
}
}
}