Class OSInfo
- java.lang.Object
-
- software.amazon.awssdk.services.migrationhubstrategy.model.OSInfo
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<OSInfo.Builder,OSInfo>
@Generated("software.amazon.awssdk:codegen") public final class OSInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OSInfo.Builder,OSInfo>
Information about the operating system.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceOSInfo.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OSInfo.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends OSInfo.Builder>serializableBuilderClass()OSInfo.BuildertoBuilder()StringtoString()Returns a string representation of this object.OSTypetype()Information about the type of operating system.StringtypeAsString()Information about the type of operating system.Stringversion()Information about the version of operating system.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
type
public final OSType type()
Information about the type of operating system.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOSType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Information about the type of operating system.
- See Also:
OSType
-
typeAsString
public final String typeAsString()
Information about the type of operating system.
If the service returns an enum value that is not available in the current SDK version,
typewill returnOSType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- Information about the type of operating system.
- See Also:
OSType
-
version
public final String version()
Information about the version of operating system.
- Returns:
- Information about the version of operating system.
-
toBuilder
public OSInfo.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<OSInfo.Builder,OSInfo>
-
builder
public static OSInfo.Builder builder()
-
serializableBuilderClass
public static Class<? extends OSInfo.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-