Struct aws_sdk_kafka::input::CreateClusterInput
source · [−]#[non_exhaustive]pub struct CreateClusterInput {
pub broker_node_group_info: Option<BrokerNodeGroupInfo>,
pub client_authentication: Option<ClientAuthentication>,
pub cluster_name: Option<String>,
pub configuration_info: Option<ConfigurationInfo>,
pub encryption_info: Option<EncryptionInfo>,
pub enhanced_monitoring: Option<EnhancedMonitoring>,
pub open_monitoring: Option<OpenMonitoringInfo>,
pub kafka_version: Option<String>,
pub logging_info: Option<LoggingInfo>,
pub number_of_broker_nodes: i32,
pub tags: Option<HashMap<String, String>>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.broker_node_group_info: Option<BrokerNodeGroupInfo>Information about the broker nodes in the cluster.
client_authentication: Option<ClientAuthentication>Includes all client authentication related information.
cluster_name: Option<String>The name of the cluster.
configuration_info: Option<ConfigurationInfo>Represents the configuration that you want MSK to use for the brokers in a cluster.
encryption_info: Option<EncryptionInfo>Includes all encryption-related information.
enhanced_monitoring: Option<EnhancedMonitoring>Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
open_monitoring: Option<OpenMonitoringInfo>The settings for open monitoring.
kafka_version: Option<String>The version of Apache Kafka.
logging_info: Option<LoggingInfo>number_of_broker_nodes: i32The number of broker nodes in the cluster.
Create tags when creating the cluster.
Implementations
sourceimpl CreateClusterInput
impl CreateClusterInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateCluster, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateCluster>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateClusterInput
sourceimpl CreateClusterInput
impl CreateClusterInput
sourcepub fn broker_node_group_info(&self) -> Option<&BrokerNodeGroupInfo>
pub fn broker_node_group_info(&self) -> Option<&BrokerNodeGroupInfo>
Information about the broker nodes in the cluster.
sourcepub fn client_authentication(&self) -> Option<&ClientAuthentication>
pub fn client_authentication(&self) -> Option<&ClientAuthentication>
Includes all client authentication related information.
sourcepub fn cluster_name(&self) -> Option<&str>
pub fn cluster_name(&self) -> Option<&str>
The name of the cluster.
sourcepub fn configuration_info(&self) -> Option<&ConfigurationInfo>
pub fn configuration_info(&self) -> Option<&ConfigurationInfo>
Represents the configuration that you want MSK to use for the brokers in a cluster.
sourcepub fn encryption_info(&self) -> Option<&EncryptionInfo>
pub fn encryption_info(&self) -> Option<&EncryptionInfo>
Includes all encryption-related information.
sourcepub fn enhanced_monitoring(&self) -> Option<&EnhancedMonitoring>
pub fn enhanced_monitoring(&self) -> Option<&EnhancedMonitoring>
Specifies the level of monitoring for the MSK cluster. The possible values are DEFAULT, PER_BROKER, PER_TOPIC_PER_BROKER, and PER_TOPIC_PER_PARTITION.
sourcepub fn open_monitoring(&self) -> Option<&OpenMonitoringInfo>
pub fn open_monitoring(&self) -> Option<&OpenMonitoringInfo>
The settings for open monitoring.
sourcepub fn kafka_version(&self) -> Option<&str>
pub fn kafka_version(&self) -> Option<&str>
The version of Apache Kafka.
pub fn logging_info(&self) -> Option<&LoggingInfo>
sourcepub fn number_of_broker_nodes(&self) -> i32
pub fn number_of_broker_nodes(&self) -> i32
The number of broker nodes in the cluster.
Create tags when creating the cluster.
Trait Implementations
sourceimpl Clone for CreateClusterInput
impl Clone for CreateClusterInput
sourcefn clone(&self) -> CreateClusterInput
fn clone(&self) -> CreateClusterInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CreateClusterInput
impl Debug for CreateClusterInput
sourceimpl PartialEq<CreateClusterInput> for CreateClusterInput
impl PartialEq<CreateClusterInput> for CreateClusterInput
sourcefn eq(&self, other: &CreateClusterInput) -> bool
fn eq(&self, other: &CreateClusterInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CreateClusterInput) -> bool
fn ne(&self, other: &CreateClusterInput) -> bool
This method tests for !=.
impl StructuralPartialEq for CreateClusterInput
Auto Trait Implementations
impl RefUnwindSafe for CreateClusterInput
impl Send for CreateClusterInput
impl Sync for CreateClusterInput
impl Unpin for CreateClusterInput
impl UnwindSafe for CreateClusterInput
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
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