@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Component extends Object implements Serializable, Cloneable, StructuredPojo
The SAP component of your application.
Constructor and Description |
---|
Component() |
Modifier and Type | Method and Description |
---|---|
Component |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application.
|
String |
getArn()
The Amazon Resource Name (ARN) of the component.
|
AssociatedHost |
getAssociatedHost()
The associated host of the component.
|
List<String> |
getChildComponents()
The child components of a highly available environment.
|
String |
getComponentId()
The ID of the component.
|
String |
getComponentType()
The type of the component.
|
List<String> |
getDatabases()
The SAP HANA databases of the component.
|
String |
getHdbVersion()
The SAP HANA version of the component.
|
List<Host> |
getHosts()
Deprecated.
|
Date |
getLastUpdated()
The time at which the component was last updated.
|
String |
getParentComponent()
The parent component of a highly available environment.
|
String |
getPrimaryHost()
Deprecated.
|
Resilience |
getResilience()
Details of the SAP HANA system replication for the component.
|
String |
getSapHostname()
The hostname of the component.
|
String |
getSapKernelVersion()
The kernel version of the component.
|
String |
getStatus()
The status of the component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the application.
|
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the component.
|
void |
setAssociatedHost(AssociatedHost associatedHost)
The associated host of the component.
|
void |
setChildComponents(Collection<String> childComponents)
The child components of a highly available environment.
|
void |
setComponentId(String componentId)
The ID of the component.
|
void |
setComponentType(String componentType)
The type of the component.
|
void |
setDatabases(Collection<String> databases)
The SAP HANA databases of the component.
|
void |
setHdbVersion(String hdbVersion)
The SAP HANA version of the component.
|
void |
setHosts(Collection<Host> hosts)
Deprecated.
|
void |
setLastUpdated(Date lastUpdated)
The time at which the component was last updated.
|
void |
setParentComponent(String parentComponent)
The parent component of a highly available environment.
|
void |
setPrimaryHost(String primaryHost)
Deprecated.
|
void |
setResilience(Resilience resilience)
Details of the SAP HANA system replication for the component.
|
void |
setSapHostname(String sapHostname)
The hostname of the component.
|
void |
setSapKernelVersion(String sapKernelVersion)
The kernel version of the component.
|
void |
setStatus(String status)
The status of the component.
|
String |
toString()
Returns a string representation of this object.
|
Component |
withApplicationId(String applicationId)
The ID of the application.
|
Component |
withArn(String arn)
The Amazon Resource Name (ARN) of the component.
|
Component |
withAssociatedHost(AssociatedHost associatedHost)
The associated host of the component.
|
Component |
withChildComponents(Collection<String> childComponents)
The child components of a highly available environment.
|
Component |
withChildComponents(String... childComponents)
The child components of a highly available environment.
|
Component |
withComponentId(String componentId)
The ID of the component.
|
Component |
withComponentType(ComponentType componentType)
The type of the component.
|
Component |
withComponentType(String componentType)
The type of the component.
|
Component |
withDatabases(Collection<String> databases)
The SAP HANA databases of the component.
|
Component |
withDatabases(String... databases)
The SAP HANA databases of the component.
|
Component |
withHdbVersion(String hdbVersion)
The SAP HANA version of the component.
|
Component |
withHosts(Collection<Host> hosts)
Deprecated.
|
Component |
withHosts(Host... hosts)
Deprecated.
|
Component |
withLastUpdated(Date lastUpdated)
The time at which the component was last updated.
|
Component |
withParentComponent(String parentComponent)
The parent component of a highly available environment.
|
Component |
withPrimaryHost(String primaryHost)
Deprecated.
|
Component |
withResilience(Resilience resilience)
Details of the SAP HANA system replication for the component.
|
Component |
withSapHostname(String sapHostname)
The hostname of the component.
|
Component |
withSapKernelVersion(String sapKernelVersion)
The kernel version of the component.
|
Component |
withStatus(ComponentStatus status)
The status of the component.
|
Component |
withStatus(String status)
The status of the component.
|
public void setComponentId(String componentId)
The ID of the component.
componentId
- The ID of the component.public String getComponentId()
The ID of the component.
public Component withComponentId(String componentId)
The ID of the component.
componentId
- The ID of the component.public void setParentComponent(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.
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.public String getParentComponent()
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.
public Component withParentComponent(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.
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.public List<String> getChildComponents()
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.
public void setChildComponents(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.
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.public Component withChildComponents(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.
NOTE: This method appends the values to the existing list (if any). Use
setChildComponents(java.util.Collection)
or withChildComponents(java.util.Collection)
if you
want to override the existing values.
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.public Component withChildComponents(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.
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.public void setApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public String getApplicationId()
The ID of the application.
public Component withApplicationId(String applicationId)
The ID of the application.
applicationId
- The ID of the application.public void setComponentType(String componentType)
The type of the component.
componentType
- The type of the component.ComponentType
public String getComponentType()
The type of the component.
ComponentType
public Component withComponentType(String componentType)
The type of the component.
componentType
- The type of the component.ComponentType
public Component withComponentType(ComponentType componentType)
The type of the component.
componentType
- The type of the component.ComponentType
public void setStatus(String status)
The status of the component.
status
- The status of the component.ComponentStatus
public String getStatus()
The status of the component.
ComponentStatus
public Component withStatus(String status)
The status of the component.
status
- The status of the component.ComponentStatus
public Component withStatus(ComponentStatus status)
The status of the component.
status
- The status of the component.ComponentStatus
public void setSapHostname(String sapHostname)
The hostname of the component.
sapHostname
- The hostname of the component.public String getSapHostname()
The hostname of the component.
public Component withSapHostname(String sapHostname)
The hostname of the component.
sapHostname
- The hostname of the component.public void setSapKernelVersion(String sapKernelVersion)
The kernel version of the component.
sapKernelVersion
- The kernel version of the component.public String getSapKernelVersion()
The kernel version of the component.
public Component withSapKernelVersion(String sapKernelVersion)
The kernel version of the component.
sapKernelVersion
- The kernel version of the component.public void setHdbVersion(String hdbVersion)
The SAP HANA version of the component.
hdbVersion
- The SAP HANA version of the component.public String getHdbVersion()
The SAP HANA version of the component.
public Component withHdbVersion(String hdbVersion)
The SAP HANA version of the component.
hdbVersion
- The SAP HANA version of the component.public void setResilience(Resilience resilience)
Details of the SAP HANA system replication for the component.
resilience
- Details of the SAP HANA system replication for the component.public Resilience getResilience()
Details of the SAP HANA system replication for the component.
public Component withResilience(Resilience resilience)
Details of the SAP HANA system replication for the component.
resilience
- Details of the SAP HANA system replication for the component.public void setAssociatedHost(AssociatedHost associatedHost)
The associated host of the component.
associatedHost
- The associated host of the component.public AssociatedHost getAssociatedHost()
The associated host of the component.
public Component withAssociatedHost(AssociatedHost associatedHost)
The associated host of the component.
associatedHost
- The associated host of the component.public List<String> getDatabases()
The SAP HANA databases of the component.
public void setDatabases(Collection<String> databases)
The SAP HANA databases of the component.
databases
- The SAP HANA databases of the component.public Component withDatabases(String... databases)
The SAP HANA databases of the component.
NOTE: This method appends the values to the existing list (if any). Use
setDatabases(java.util.Collection)
or withDatabases(java.util.Collection)
if you want to
override the existing values.
databases
- The SAP HANA databases of the component.public Component withDatabases(Collection<String> databases)
The SAP HANA databases of the component.
databases
- The SAP HANA databases of the component.@Deprecated public List<Host> getHosts()
The hosts of the component.
@Deprecated public void setHosts(Collection<Host> hosts)
The hosts of the component.
hosts
- The hosts of the component.@Deprecated public Component withHosts(Host... hosts)
The hosts of the component.
NOTE: This method appends the values to the existing list (if any). Use
setHosts(java.util.Collection)
or withHosts(java.util.Collection)
if you want to override the
existing values.
hosts
- The hosts of the component.@Deprecated public Component withHosts(Collection<Host> hosts)
The hosts of the component.
hosts
- The hosts of the component.@Deprecated public void setPrimaryHost(String primaryHost)
The primary host of the component.
primaryHost
- The primary host of the component.@Deprecated public String getPrimaryHost()
The primary host of the component.
@Deprecated public Component withPrimaryHost(String primaryHost)
The primary host of the component.
primaryHost
- The primary host of the component.public void setLastUpdated(Date lastUpdated)
The time at which the component was last updated.
lastUpdated
- The time at which the component was last updated.public Date getLastUpdated()
The time at which the component was last updated.
public Component withLastUpdated(Date lastUpdated)
The time at which the component was last updated.
lastUpdated
- The time at which the component was last updated.public void setArn(String arn)
The Amazon Resource Name (ARN) of the component.
arn
- The Amazon Resource Name (ARN) of the component.public String getArn()
The Amazon Resource Name (ARN) of the component.
public Component withArn(String arn)
The Amazon Resource Name (ARN) of the component.
arn
- The Amazon Resource Name (ARN) of the component.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.