Class Check
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<Check.Builder,
Check>
A check on the environment to identify environment health and validate VMware VCF licensing compliance.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Check.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final Instant
The time when environment health began to be impaired.final CheckResult
result()
The check result.final String
The check result.static Class
<? extends Check.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final CheckType
type()
The check type.final String
The check type.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
type
The check type. Amazon EVS performs the following checks.
-
KEY_REUSE
: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment. -
KEY_COVERAGE
: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys. -
REACHABILITY
: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. -
HOST_COUNT
: Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1.If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.
If the service returns an enum value that is not available in the current SDK version,
type
will returnCheckType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The check type. Amazon EVS performs the following checks.
-
KEY_REUSE
: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment. -
KEY_COVERAGE
: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys. -
REACHABILITY
: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. -
HOST_COUNT
: Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1.If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.
-
- See Also:
-
-
typeAsString
The check type. Amazon EVS performs the following checks.
-
KEY_REUSE
: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment. -
KEY_COVERAGE
: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys. -
REACHABILITY
: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. -
HOST_COUNT
: Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1.If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.
If the service returns an enum value that is not available in the current SDK version,
type
will returnCheckType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromtypeAsString()
.- Returns:
- The check type. Amazon EVS performs the following checks.
-
KEY_REUSE
: checks that the VCF license key is not used by another Amazon EVS environment. This check fails if a used license is added to the environment. -
KEY_COVERAGE
: checks that your VCF license key allocates sufficient vCPU cores for all deployed hosts. The check fails when any assigned hosts in the EVS environment are not covered by license keys, or when any unassigned hosts cannot be covered by available vCPU cores in keys. -
REACHABILITY
: checks that the Amazon EVS control plane has a persistent connection to SDDC Manager. If Amazon EVS cannot reach the environment, this check fails. -
HOST_COUNT
: Checks that your environment has a minimum of 4 hosts, which is a requirement for VCF 5.2.1.If this check fails, you will need to add hosts so that your environment meets this minimum requirement. Amazon EVS only supports environments with 4-16 hosts.
-
- See Also:
-
-
result
The check result.
If the service returns an enum value that is not available in the current SDK version,
result
will returnCheckResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The check result.
- See Also:
-
resultAsString
The check result.
If the service returns an enum value that is not available in the current SDK version,
result
will returnCheckResult.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromresultAsString()
.- Returns:
- The check result.
- See Also:
-
impairedSince
The time when environment health began to be impaired.
- Returns:
- The time when environment health began to be impaired.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<Check.Builder,
Check> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
-