@Generated(value="software.amazon.awssdk:codegen") public final class PatchBaselineIdentity extends Object implements StructuredPojo, ToCopyableBuilder<PatchBaselineIdentity.Builder,PatchBaselineIdentity>
Defines the basic information about a patch baseline.
Modifier and Type | Class and Description |
---|---|
static interface |
PatchBaselineIdentity.Builder |
Modifier and Type | Method and Description |
---|---|
String |
baselineDescription()
The description of the patch baseline.
|
String |
baselineId()
The ID of the patch baseline.
|
String |
baselineName()
The name of the patch baseline.
|
static PatchBaselineIdentity.Builder |
builder() |
Boolean |
defaultBaseline()
Whether this is the default baseline.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
OperatingSystem |
operatingSystem()
Defines the operating system the patch baseline applies to.
|
String |
operatingSystemAsString()
Defines the operating system the patch baseline applies to.
|
static Class<? extends PatchBaselineIdentity.Builder> |
serializableBuilderClass() |
PatchBaselineIdentity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String baselineId()
The ID of the patch baseline.
public String baselineName()
The name of the patch baseline.
public OperatingSystem operatingSystem()
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from operatingSystemAsString()
.
OperatingSystem
public String operatingSystemAsString()
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
If the service returns an enum value that is not available in the current SDK version, operatingSystem
will return OperatingSystem.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from operatingSystemAsString()
.
OperatingSystem
public String baselineDescription()
The description of the patch baseline.
public Boolean defaultBaseline()
Whether this is the default baseline. Note that Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
public PatchBaselineIdentity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PatchBaselineIdentity.Builder,PatchBaselineIdentity>
public static PatchBaselineIdentity.Builder builder()
public static Class<? extends PatchBaselineIdentity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.