Class PatchBaselineIdentity
- java.lang.Object
-
- software.amazon.awssdk.services.ssm.model.PatchBaselineIdentity
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<PatchBaselineIdentity.Builder,PatchBaselineIdentity>
@Generated("software.amazon.awssdk:codegen") public final class PatchBaselineIdentity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PatchBaselineIdentity.Builder,PatchBaselineIdentity>
Defines the basic information about a patch baseline.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
PatchBaselineIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
Indicates whether this is the default baseline.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
OperatingSystem
operatingSystem()
Defines the operating system the patch baseline applies to.String
operatingSystemAsString()
Defines the operating system the patch baseline applies to.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends PatchBaselineIdentity.Builder>
serializableBuilderClass()
PatchBaselineIdentity.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
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
-
baselineId
public final String baselineId()
The ID of the patch baseline.
- Returns:
- The ID of the patch baseline.
-
baselineName
public final String baselineName()
The name of the patch baseline.
- Returns:
- The name of the patch baseline.
-
operatingSystem
public final 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 returnOperatingSystem.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoperatingSystemAsString()
.- Returns:
- Defines the operating system the patch baseline applies to. The default value is
WINDOWS
. - See Also:
OperatingSystem
-
operatingSystemAsString
public final 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 returnOperatingSystem.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromoperatingSystemAsString()
.- Returns:
- Defines the operating system the patch baseline applies to. The default value is
WINDOWS
. - See Also:
OperatingSystem
-
baselineDescription
public final String baselineDescription()
The description of the patch baseline.
- Returns:
- The description of the patch baseline.
-
defaultBaseline
public final Boolean defaultBaseline()
Indicates whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
- Returns:
- Indicates whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch baselines. For example, you can create a default patch baseline for each operating system.
-
toBuilder
public PatchBaselineIdentity.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<PatchBaselineIdentity.Builder,PatchBaselineIdentity>
-
builder
public static PatchBaselineIdentity.Builder builder()
-
serializableBuilderClass
public static Class<? extends PatchBaselineIdentity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-