Interface Component.Builder

  • Method Details

    • componentId

      Component.Builder componentId(String componentId)

      The ID of the component.

      Parameters:
      componentId - The ID of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sid

      The SAP System Identifier of the application component.

      Parameters:
      sid - The SAP System Identifier of the application component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • systemNumber

      Component.Builder systemNumber(String systemNumber)

      The SAP system number of the application component.

      Parameters:
      systemNumber - The SAP system number of the application component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • parentComponent

      Component.Builder parentComponent(String parentComponent)

      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.

      Parameters:
      parentComponent - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childComponents

      Component.Builder childComponents(Collection<String> childComponents)

      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.

      Parameters:
      childComponents - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • childComponents

      Component.Builder childComponents(String... childComponents)

      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.

      Parameters:
      childComponents - 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • applicationId

      Component.Builder applicationId(String applicationId)

      The ID of the application.

      Parameters:
      applicationId - The ID of the application.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • componentType

      Component.Builder componentType(String componentType)

      The type of the component.

      Parameters:
      componentType - The type of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • componentType

      Component.Builder componentType(ComponentType componentType)

      The type of the component.

      Parameters:
      componentType - The type of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Component.Builder status(String status)

      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.

      Parameters:
      status - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      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.

      Parameters:
      status - 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.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sapHostname

      Component.Builder sapHostname(String sapHostname)

      The hostname of the component.

      Parameters:
      sapHostname - The hostname of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sapFeature

      Component.Builder sapFeature(String sapFeature)

      The SAP feature of the component.

      Parameters:
      sapFeature - The SAP feature of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sapKernelVersion

      Component.Builder sapKernelVersion(String sapKernelVersion)

      The kernel version of the component.

      Parameters:
      sapKernelVersion - The kernel version of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hdbVersion

      Component.Builder hdbVersion(String hdbVersion)

      The SAP HANA version of the component.

      Parameters:
      hdbVersion - The SAP HANA version of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resilience

      Component.Builder resilience(Resilience resilience)

      Details of the SAP HANA system replication for the component.

      Parameters:
      resilience - Details of the SAP HANA system replication for the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resilience

      default Component.Builder resilience(Consumer<Resilience.Builder> resilience)

      Details of the SAP HANA system replication for the component.

      This is a convenience method that creates an instance of the Resilience.Builder avoiding the need to create one manually via Resilience.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to resilience(Resilience).

      Parameters:
      resilience - a consumer that will call methods on Resilience.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • associatedHost

      Component.Builder associatedHost(AssociatedHost associatedHost)

      The associated host of the component.

      Parameters:
      associatedHost - The associated host of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • associatedHost

      default Component.Builder associatedHost(Consumer<AssociatedHost.Builder> associatedHost)

      The associated host of the component.

      This is a convenience method that creates an instance of the AssociatedHost.Builder avoiding the need to create one manually via AssociatedHost.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to associatedHost(AssociatedHost).

      Parameters:
      associatedHost - a consumer that will call methods on AssociatedHost.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • databases

      Component.Builder databases(Collection<String> databases)

      The SAP HANA databases of the component.

      Parameters:
      databases - The SAP HANA databases of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databases

      Component.Builder databases(String... databases)

      The SAP HANA databases of the component.

      Parameters:
      databases - The SAP HANA databases of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hosts

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

      The hosts of the component.

      Parameters:
      hosts - The hosts of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hosts

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

      The hosts of the component.

      Parameters:
      hosts - The hosts of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • hosts

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

      The hosts of the component.

      This is a convenience method that creates an instance of the Host.Builder avoiding the need to create one manually via Host.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to hosts(List<Host>).

      Parameters:
      hosts - a consumer that will call methods on Host.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • primaryHost

      @Deprecated Component.Builder primaryHost(String primaryHost)
      Deprecated.
      This shape is no longer used. Please use AssociatedHost.

      The primary host of the component.

      Parameters:
      primaryHost - The primary host of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseConnection

      Component.Builder databaseConnection(DatabaseConnection databaseConnection)

      The connection specifications for the database of the component.

      Parameters:
      databaseConnection - The connection specifications for the database of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • databaseConnection

      default Component.Builder databaseConnection(Consumer<DatabaseConnection.Builder> databaseConnection)

      The connection specifications for the database of the component.

      This is a convenience method that creates an instance of the DatabaseConnection.Builder avoiding the need to create one manually via DatabaseConnection.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to databaseConnection(DatabaseConnection).

      Parameters:
      databaseConnection - a consumer that will call methods on DatabaseConnection.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lastUpdated

      Component.Builder lastUpdated(Instant lastUpdated)

      The time at which the component was last updated.

      Parameters:
      lastUpdated - The time at which the component was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The Amazon Resource Name (ARN) of the component.

      Parameters:
      arn - The Amazon Resource Name (ARN) of the component.
      Returns:
      Returns a reference to this object so that method calls can be chained together.