#[non_exhaustive]
pub struct ComponentBuilder { /* private fields */ }
Expand description

A builder for Component.

Implementations§

source§

impl ComponentBuilder

source

pub fn component_id(self, input: impl Into<String>) -> Self

The ID of the component.

source

pub fn set_component_id(self, input: Option<String>) -> Self

The ID of the component.

source

pub fn get_component_id(&self) -> &Option<String>

The ID of the component.

source

pub fn sid(self, input: impl Into<String>) -> Self

The SAP System Identifier of the application component.

source

pub fn set_sid(self, input: Option<String>) -> Self

The SAP System Identifier of the application component.

source

pub fn get_sid(&self) -> &Option<String>

The SAP System Identifier of the application component.

source

pub fn system_number(self, input: impl Into<String>) -> Self

The SAP system number of the application component.

source

pub fn set_system_number(self, input: Option<String>) -> Self

The SAP system number of the application component.

source

pub fn get_system_number(&self) -> &Option<String>

The SAP system number of the application component.

source

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.

source

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.

source

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.

source

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.

source

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.

source

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.

source

pub fn application_id(self, input: impl Into<String>) -> Self

The ID of the application.

source

pub fn set_application_id(self, input: Option<String>) -> Self

The ID of the application.

source

pub fn get_application_id(&self) -> &Option<String>

The ID of the application.

source

pub fn component_type(self, input: ComponentType) -> Self

The type of the component.

source

pub fn set_component_type(self, input: Option<ComponentType>) -> Self

The type of the component.

source

pub fn get_component_type(&self) -> &Option<ComponentType>

The type of the component.

source

pub fn status(self, input: ComponentStatus) -> Self

The status of the component.

  • ACTIVATED - this status has been deprecated.

  • STARTING - the component is in the process of being started.

  • STOPPED - the component is not running.

  • STOPPING - the component is in the process of being stopped.

  • RUNNING - the component is running.

  • RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not running. Call GetComponent to review the status of each child component.

  • UNDEFINED - AWS Systems Manager for SAP cannot provide the component status based on the discovered information. Verify your SAP application.

source

pub fn set_status(self, input: Option<ComponentStatus>) -> Self

The status of the component.

  • ACTIVATED - this status has been deprecated.

  • STARTING - the component is in the process of being started.

  • STOPPED - the component is not running.

  • STOPPING - the component is in the process of being stopped.

  • RUNNING - the component is running.

  • RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not running. Call GetComponent to review the status of each child component.

  • UNDEFINED - AWS Systems Manager for SAP cannot provide the component status based on the discovered information. Verify your SAP application.

source

pub fn get_status(&self) -> &Option<ComponentStatus>

The status of the component.

  • ACTIVATED - this status has been deprecated.

  • STARTING - the component is in the process of being started.

  • STOPPED - the component is not running.

  • STOPPING - the component is in the process of being stopped.

  • RUNNING - the component is running.

  • RUNNING_WITH_ERROR - one or more child component(s) of the parent component is not running. Call GetComponent to review the status of each child component.

  • UNDEFINED - AWS Systems Manager for SAP cannot provide the component status based on the discovered information. Verify your SAP application.

source

pub fn sap_hostname(self, input: impl Into<String>) -> Self

The hostname of the component.

source

pub fn set_sap_hostname(self, input: Option<String>) -> Self

The hostname of the component.

source

pub fn get_sap_hostname(&self) -> &Option<String>

The hostname of the component.

source

pub fn sap_feature(self, input: impl Into<String>) -> Self

The SAP feature of the component.

source

pub fn set_sap_feature(self, input: Option<String>) -> Self

The SAP feature of the component.

source

pub fn get_sap_feature(&self) -> &Option<String>

The SAP feature of the component.

source

pub fn sap_kernel_version(self, input: impl Into<String>) -> Self

The kernel version of the component.

source

pub fn set_sap_kernel_version(self, input: Option<String>) -> Self

The kernel version of the component.

source

pub fn get_sap_kernel_version(&self) -> &Option<String>

The kernel version of the component.

source

pub fn hdb_version(self, input: impl Into<String>) -> Self

The SAP HANA version of the component.

source

pub fn set_hdb_version(self, input: Option<String>) -> Self

The SAP HANA version of the component.

source

pub fn get_hdb_version(&self) -> &Option<String>

The SAP HANA version of the component.

source

pub fn resilience(self, input: Resilience) -> Self

Details of the SAP HANA system replication for the component.

source

pub fn set_resilience(self, input: Option<Resilience>) -> Self

Details of the SAP HANA system replication for the component.

source

pub fn get_resilience(&self) -> &Option<Resilience>

Details of the SAP HANA system replication for the component.

source

pub fn associated_host(self, input: AssociatedHost) -> Self

The associated host of the component.

source

pub fn set_associated_host(self, input: Option<AssociatedHost>) -> Self

The associated host of the component.

source

pub fn get_associated_host(&self) -> &Option<AssociatedHost>

The associated host of the component.

source

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.

source

pub fn set_databases(self, input: Option<Vec<String>>) -> Self

The SAP HANA databases of the component.

source

pub fn get_databases(&self) -> &Option<Vec<String>>

The SAP HANA databases of the component.

source

pub fn hosts(self, input: Host) -> Self

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

Appends an item to hosts.

To override the contents of this collection use set_hosts.

The hosts of the component.

source

pub fn set_hosts(self, input: Option<Vec<Host>>) -> Self

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The hosts of the component.

source

pub fn get_hosts(&self) -> &Option<Vec<Host>>

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The hosts of the component.

source

pub fn primary_host(self, input: impl Into<String>) -> Self

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The primary host of the component.

source

pub fn set_primary_host(self, input: Option<String>) -> Self

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The primary host of the component.

source

pub fn get_primary_host(&self) -> &Option<String>

👎Deprecated: This shape is no longer used. Please use AssociatedHost.

The primary host of the component.

source

pub fn database_connection(self, input: DatabaseConnection) -> Self

The connection specifications for the database of the component.

source

pub fn set_database_connection(self, input: Option<DatabaseConnection>) -> Self

The connection specifications for the database of the component.

source

pub fn get_database_connection(&self) -> &Option<DatabaseConnection>

The connection specifications for the database of the component.

source

pub fn last_updated(self, input: DateTime) -> Self

The time at which the component was last updated.

source

pub fn set_last_updated(self, input: Option<DateTime>) -> Self

The time at which the component was last updated.

source

pub fn get_last_updated(&self) -> &Option<DateTime>

The time at which the component was last updated.

source

pub fn arn(self, input: impl Into<String>) -> Self

The Amazon Resource Name (ARN) of the component.

source

pub fn set_arn(self, input: Option<String>) -> Self

The Amazon Resource Name (ARN) of the component.

source

pub fn get_arn(&self) -> &Option<String>

The Amazon Resource Name (ARN) of the component.

source

pub fn build(self) -> Component

Consumes the builder and constructs a Component.

Trait Implementations§

source§

impl Clone for ComponentBuilder

source§

fn clone(&self) -> ComponentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ComponentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ComponentBuilder

source§

fn default() -> ComponentBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for ComponentBuilder

source§

fn eq(&self, other: &ComponentBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for ComponentBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more