Interface Component.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Component.Builder,Component>,SdkBuilder<Component.Builder,Component>,SdkPojo
- Enclosing class:
- Component
public static interface Component.Builder extends SdkPojo, CopyableBuilder<Component.Builder,Component>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description Component.BuilderapplicationId(String applicationId)The ID of the application.Component.Builderarn(String arn)The Amazon Resource Name (ARN) of the component.default Component.BuilderassociatedHost(Consumer<AssociatedHost.Builder> associatedHost)The associated host of the component.Component.BuilderassociatedHost(AssociatedHost associatedHost)The associated host of the component.Component.BuilderchildComponents(String... childComponents)The child components of a highly available environment.Component.BuilderchildComponents(Collection<String> childComponents)The child components of a highly available environment.Component.BuildercomponentId(String componentId)The ID of the component.Component.BuildercomponentType(String componentType)The type of the component.Component.BuildercomponentType(ComponentType componentType)The type of the component.default Component.BuilderdatabaseConnection(Consumer<DatabaseConnection.Builder> databaseConnection)The connection specifications for the database of the component.Component.BuilderdatabaseConnection(DatabaseConnection databaseConnection)The connection specifications for the database of the component.Component.Builderdatabases(String... databases)The SAP HANA databases of the component.Component.Builderdatabases(Collection<String> databases)The SAP HANA databases of the component.Component.BuilderhdbVersion(String hdbVersion)The SAP HANA version of the component.Component.Builderhosts(Collection<Host> hosts)Deprecated.This shape is no longer used.Component.Builderhosts(Consumer<Host.Builder>... hosts)Deprecated.This shape is no longer used.Component.Builderhosts(Host... hosts)Deprecated.This shape is no longer used.Component.BuilderlastUpdated(Instant lastUpdated)The time at which the component was last updated.Component.BuilderparentComponent(String parentComponent)The parent component of a highly available environment.Component.BuilderprimaryHost(String primaryHost)Deprecated.This shape is no longer used.default Component.Builderresilience(Consumer<Resilience.Builder> resilience)Details of the SAP HANA system replication for the component.Component.Builderresilience(Resilience resilience)Details of the SAP HANA system replication for the component.Component.BuildersapFeature(String sapFeature)The SAP feature of the component.Component.BuildersapHostname(String sapHostname)The hostname of the component.Component.BuildersapKernelVersion(String sapKernelVersion)The kernel version of the component.Component.Buildersid(String sid)The SAP System Identifier of the application component.Component.Builderstatus(String status)The status of the component.Component.Builderstatus(ComponentStatus status)The status of the component.Component.BuildersystemNumber(String systemNumber)The SAP system number of the application component.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
Component.Builder sid(String 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,ComponentType
-
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:
ComponentType,ComponentType
-
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
GetComponentto 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
GetComponentto 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:
ComponentStatus,ComponentStatus
-
-
status
Component.Builder status(ComponentStatus 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
GetComponentto 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
GetComponentto 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:
ComponentStatus,ComponentStatus
-
-
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 theResilience.Builderavoiding the need to create one manually viaResilience.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresilience(Resilience).- Parameters:
resilience- a consumer that will call methods onResilience.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resilience(Resilience)
-
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 theAssociatedHost.Builderavoiding the need to create one manually viaAssociatedHost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedHost(AssociatedHost).- Parameters:
associatedHost- a consumer that will call methods onAssociatedHost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
associatedHost(AssociatedHost)
-
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 Component.Builder hosts(Collection<Host> 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 Component.Builder hosts(Host... 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 Component.Builder hosts(Consumer<Host.Builder>... 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 theHost.Builderavoiding the need to create one manually viaHost.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#hosts(List.) - Parameters:
hosts- a consumer that will call methods onHost.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#hosts(java.util.Collection)
-
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 theDatabaseConnection.Builderavoiding the need to create one manually viaDatabaseConnection.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todatabaseConnection(DatabaseConnection).- Parameters:
databaseConnection- a consumer that will call methods onDatabaseConnection.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
databaseConnection(DatabaseConnection)
-
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
Component.Builder arn(String 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.
-
-