Interface AppComponent.Builder

    • Method Detail

      • additionalInfo

        AppComponent.Builder additionalInfo​(Map<String,​? extends Collection<String>> additionalInfo)

        Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

        Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

        Key: "failover-regions"

        Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"

        Parameters:
        additionalInfo - Additional configuration parameters for an Resilience Hub application. If you want to implement additionalInfo through the Resilience Hub console rather than using an API call, see Configure the application configuration parameters.

        Currently, this parameter accepts a key-value mapping (in a string format) of only one failover region and one associated account.

        Key: "failover-regions"

        Value: "[{"region":"<REGION>", "accounts":[{"id":"<ACCOUNT_ID>"}]}]"

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

        AppComponent.Builder id​(String id)

        Identifier of the Application Component.

        Parameters:
        id - Identifier of the Application Component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        AppComponent.Builder name​(String name)

        Name of the Application Component.

        Parameters:
        name - Name of the Application Component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        AppComponent.Builder type​(String type)

        The type of Application Component.

        Parameters:
        type - The type of Application Component.
        Returns:
        Returns a reference to this object so that method calls can be chained together.