Struct aws_sdk_ssmsap::types::builders::ComponentBuilder
source · #[non_exhaustive]pub struct ComponentBuilder { /* private fields */ }Expand description
A builder for Component.
Implementations§
source§impl ComponentBuilder
impl ComponentBuilder
sourcepub fn component_id(self, input: impl Into<String>) -> Self
pub fn component_id(self, input: impl Into<String>) -> Self
The ID of the component.
sourcepub fn set_component_id(self, input: Option<String>) -> Self
pub fn set_component_id(self, input: Option<String>) -> Self
The ID of the component.
sourcepub fn get_component_id(&self) -> &Option<String>
pub fn get_component_id(&self) -> &Option<String>
The ID of the component.
sourcepub fn parent_component(self, input: impl Into<String>) -> Self
pub fn parent_component(self, input: impl Into<String>) -> Self
The parent component of a highly available environment. For example, in a highly available SAP on AWS workload, the parent component consists of the entire setup, including the child components.
sourcepub fn set_parent_component(self, input: Option<String>) -> Self
pub fn set_parent_component(self, input: Option<String>) -> Self
The parent component of a highly available environment. For example, in a highly available SAP on AWS workload, the parent component consists of the entire setup, including the child components.
sourcepub fn get_parent_component(&self) -> &Option<String>
pub fn get_parent_component(&self) -> &Option<String>
The parent component of a highly available environment. For example, in a highly available SAP on AWS workload, the parent component consists of the entire setup, including the child components.
sourcepub fn child_components(self, input: impl Into<String>) -> Self
pub fn child_components(self, input: impl Into<String>) -> Self
Appends an item to child_components.
To override the contents of this collection use set_child_components.
The child components of a highly available environment. For example, in a highly available SAP on AWS workload, the child component consists of the primary and secondar instances.
sourcepub fn set_child_components(self, input: Option<Vec<String>>) -> Self
pub fn set_child_components(self, input: Option<Vec<String>>) -> Self
The child components of a highly available environment. For example, in a highly available SAP on AWS workload, the child component consists of the primary and secondar instances.
sourcepub fn get_child_components(&self) -> &Option<Vec<String>>
pub fn get_child_components(&self) -> &Option<Vec<String>>
The child components of a highly available environment. For example, in a highly available SAP on AWS workload, the child component consists of the primary and secondar instances.
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application.
sourcepub fn component_type(self, input: ComponentType) -> Self
pub fn component_type(self, input: ComponentType) -> Self
The type of the component.
sourcepub fn set_component_type(self, input: Option<ComponentType>) -> Self
pub fn set_component_type(self, input: Option<ComponentType>) -> Self
The type of the component.
sourcepub fn get_component_type(&self) -> &Option<ComponentType>
pub fn get_component_type(&self) -> &Option<ComponentType>
The type of the component.
sourcepub fn status(self, input: ComponentStatus) -> Self
pub fn status(self, input: ComponentStatus) -> Self
The status of the component.
sourcepub fn set_status(self, input: Option<ComponentStatus>) -> Self
pub fn set_status(self, input: Option<ComponentStatus>) -> Self
The status of the component.
sourcepub fn get_status(&self) -> &Option<ComponentStatus>
pub fn get_status(&self) -> &Option<ComponentStatus>
The status of the component.
sourcepub fn sap_hostname(self, input: impl Into<String>) -> Self
pub fn sap_hostname(self, input: impl Into<String>) -> Self
The hostname of the component.
sourcepub fn set_sap_hostname(self, input: Option<String>) -> Self
pub fn set_sap_hostname(self, input: Option<String>) -> Self
The hostname of the component.
sourcepub fn get_sap_hostname(&self) -> &Option<String>
pub fn get_sap_hostname(&self) -> &Option<String>
The hostname of the component.
sourcepub fn sap_kernel_version(self, input: impl Into<String>) -> Self
pub fn sap_kernel_version(self, input: impl Into<String>) -> Self
The kernel version of the component.
sourcepub fn set_sap_kernel_version(self, input: Option<String>) -> Self
pub fn set_sap_kernel_version(self, input: Option<String>) -> Self
The kernel version of the component.
sourcepub fn get_sap_kernel_version(&self) -> &Option<String>
pub fn get_sap_kernel_version(&self) -> &Option<String>
The kernel version of the component.
sourcepub fn hdb_version(self, input: impl Into<String>) -> Self
pub fn hdb_version(self, input: impl Into<String>) -> Self
The SAP HANA version of the component.
sourcepub fn set_hdb_version(self, input: Option<String>) -> Self
pub fn set_hdb_version(self, input: Option<String>) -> Self
The SAP HANA version of the component.
sourcepub fn get_hdb_version(&self) -> &Option<String>
pub fn get_hdb_version(&self) -> &Option<String>
The SAP HANA version of the component.
sourcepub fn resilience(self, input: Resilience) -> Self
pub fn resilience(self, input: Resilience) -> Self
Details of the SAP HANA system replication for the component.
sourcepub fn set_resilience(self, input: Option<Resilience>) -> Self
pub fn set_resilience(self, input: Option<Resilience>) -> Self
Details of the SAP HANA system replication for the component.
sourcepub fn get_resilience(&self) -> &Option<Resilience>
pub fn get_resilience(&self) -> &Option<Resilience>
Details of the SAP HANA system replication for the component.
sourcepub fn associated_host(self, input: AssociatedHost) -> Self
pub fn associated_host(self, input: AssociatedHost) -> Self
The associated host of the component.
sourcepub fn set_associated_host(self, input: Option<AssociatedHost>) -> Self
pub fn set_associated_host(self, input: Option<AssociatedHost>) -> Self
The associated host of the component.
sourcepub fn get_associated_host(&self) -> &Option<AssociatedHost>
pub fn get_associated_host(&self) -> &Option<AssociatedHost>
The associated host of the component.
sourcepub fn databases(self, input: impl Into<String>) -> Self
pub fn databases(self, input: impl Into<String>) -> Self
Appends an item to databases.
To override the contents of this collection use set_databases.
The SAP HANA databases of the component.
sourcepub fn set_databases(self, input: Option<Vec<String>>) -> Self
pub fn set_databases(self, input: Option<Vec<String>>) -> Self
The SAP HANA databases of the component.
sourcepub fn get_databases(&self) -> &Option<Vec<String>>
pub fn get_databases(&self) -> &Option<Vec<String>>
The SAP HANA databases of the component.
sourcepub fn hosts(self, input: Host) -> Self
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn hosts(self, input: Host) -> Self
Appends an item to hosts.
To override the contents of this collection use set_hosts.
The hosts of the component.
sourcepub fn set_hosts(self, input: Option<Vec<Host>>) -> Self
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn set_hosts(self, input: Option<Vec<Host>>) -> Self
The hosts of the component.
sourcepub fn get_hosts(&self) -> &Option<Vec<Host>>
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn get_hosts(&self) -> &Option<Vec<Host>>
The hosts of the component.
sourcepub fn primary_host(self, input: impl Into<String>) -> Self
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn primary_host(self, input: impl Into<String>) -> Self
The primary host of the component.
sourcepub fn set_primary_host(self, input: Option<String>) -> Self
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn set_primary_host(self, input: Option<String>) -> Self
The primary host of the component.
sourcepub fn get_primary_host(&self) -> &Option<String>
👎Deprecated: This shape is no longer used. Please use AssociatedHost.
pub fn get_primary_host(&self) -> &Option<String>
The primary host of the component.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time at which the component was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time at which the component was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time at which the component was last updated.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the component.
Trait Implementations§
source§impl Clone for ComponentBuilder
impl Clone for ComponentBuilder
source§fn clone(&self) -> ComponentBuilder
fn clone(&self) -> ComponentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ComponentBuilder
impl Debug for ComponentBuilder
source§impl Default for ComponentBuilder
impl Default for ComponentBuilder
source§fn default() -> ComponentBuilder
fn default() -> ComponentBuilder
source§impl PartialEq for ComponentBuilder
impl PartialEq for ComponentBuilder
source§fn eq(&self, other: &ComponentBuilder) -> bool
fn eq(&self, other: &ComponentBuilder) -> bool
self and other values to be equal, and is used
by ==.