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 interfacePatchBaselineIdentity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbaselineDescription()The description of the patch baseline.StringbaselineId()The ID of the patch baseline.StringbaselineName()The name of the patch baseline.static PatchBaselineIdentity.Builderbuilder()BooleandefaultBaseline()Indicates whether this is the default baseline.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()OperatingSystemoperatingSystem()Defines the operating system the patch baseline applies to.StringoperatingSystemAsString()Defines the operating system the patch baseline applies to.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PatchBaselineIdentity.Builder>serializableBuilderClass()PatchBaselineIdentity.BuildertoBuilder()StringtoString()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,
operatingSystemwill 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,
operatingSystemwill 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:
toBuilderin 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:
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-