@Generated(value="software.amazon.awssdk:codegen") public final class OperatingSystem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<OperatingSystem.Builder,OperatingSystem>
Describes supported operating systems in AWS OpsWorks Stacks.
Modifier and Type | Class and Description |
---|---|
static interface |
OperatingSystem.Builder |
Modifier and Type | Method and Description |
---|---|
static OperatingSystem.Builder |
builder() |
List<OperatingSystemConfigurationManager> |
configurationManagers()
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasConfigurationManagers()
Returns true if the ConfigurationManagers property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
String |
id()
The ID of a supported operating system, such as
Amazon Linux 2018.03 . |
String |
name()
The name of the operating system, such as
Amazon Linux 2018.03 . |
String |
reportedName()
A short name for the operating system manufacturer.
|
String |
reportedVersion()
The version of the operating system, including the release and edition, if applicable.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends OperatingSystem.Builder> |
serializableBuilderClass() |
Boolean |
supported()
Indicates that an operating system is not supported for new instances.
|
OperatingSystem.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
type()
The type of a supported operating system, either
Linux or Windows . |
copy
public final String name()
The name of the operating system, such as Amazon Linux 2018.03
.
Amazon Linux 2018.03
.public final String id()
The ID of a supported operating system, such as Amazon Linux 2018.03
.
Amazon Linux 2018.03
.public final String type()
The type of a supported operating system, either Linux
or Windows
.
Linux
or Windows
.public final boolean hasConfigurationManagers()
public final List<OperatingSystemConfigurationManager> configurationManagers()
Supported configuration manager name and versions for an AWS OpsWorks Stacks operating system.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasConfigurationManagers()
to see if a value was sent in this field.
public final String reportedName()
A short name for the operating system manufacturer.
public final String reportedVersion()
The version of the operating system, including the release and edition, if applicable.
public final Boolean supported()
Indicates that an operating system is not supported for new instances.
public OperatingSystem.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<OperatingSystem.Builder,OperatingSystem>
public static OperatingSystem.Builder builder()
public static Class<? extends OperatingSystem.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.