@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PatchBaselineIdentity extends Object implements Serializable, Cloneable, StructuredPojo
Defines the basic information about a patch baseline.
Constructor and Description |
---|
PatchBaselineIdentity() |
Modifier and Type | Method and Description |
---|---|
PatchBaselineIdentity |
clone() |
boolean |
equals(Object obj) |
String |
getBaselineDescription()
The description of the patch baseline.
|
String |
getBaselineId()
The ID of the patch baseline.
|
String |
getBaselineName()
The name of the patch baseline.
|
Boolean |
getDefaultBaseline()
Whether this is the default baseline.
|
String |
getOperatingSystem()
Defines the operating system the patch baseline applies to.
|
int |
hashCode() |
Boolean |
isDefaultBaseline()
Whether this is the default baseline.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBaselineDescription(String baselineDescription)
The description of the patch baseline.
|
void |
setBaselineId(String baselineId)
The ID of the patch baseline.
|
void |
setBaselineName(String baselineName)
The name of the patch baseline.
|
void |
setDefaultBaseline(Boolean defaultBaseline)
Whether this is the default baseline.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to.
|
void |
setOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to.
|
String |
toString()
Returns a string representation of this object.
|
PatchBaselineIdentity |
withBaselineDescription(String baselineDescription)
The description of the patch baseline.
|
PatchBaselineIdentity |
withBaselineId(String baselineId)
The ID of the patch baseline.
|
PatchBaselineIdentity |
withBaselineName(String baselineName)
The name of the patch baseline.
|
PatchBaselineIdentity |
withDefaultBaseline(Boolean defaultBaseline)
Whether this is the default baseline.
|
PatchBaselineIdentity |
withOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to.
|
PatchBaselineIdentity |
withOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to.
|
public void setBaselineId(String baselineId)
The ID of the patch baseline.
baselineId
- The ID of the patch baseline.public String getBaselineId()
The ID of the patch baseline.
public PatchBaselineIdentity withBaselineId(String baselineId)
The ID of the patch baseline.
baselineId
- The ID of the patch baseline.public void setBaselineName(String baselineName)
The name of the patch baseline.
baselineName
- The name of the patch baseline.public String getBaselineName()
The name of the patch baseline.
public PatchBaselineIdentity withBaselineName(String baselineName)
The name of the patch baseline.
baselineName
- The name of the patch baseline.public void setOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
operatingSystem
- Defines the operating system the patch baseline applies to. The default value is WINDOWS
.OperatingSystem
public String getOperatingSystem()
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
WINDOWS
.OperatingSystem
public PatchBaselineIdentity withOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
operatingSystem
- Defines the operating system the patch baseline applies to. The default value is WINDOWS
.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
operatingSystem
- Defines the operating system the patch baseline applies to. The default value is WINDOWS
.OperatingSystem
public PatchBaselineIdentity withOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. The default value is WINDOWS
.
operatingSystem
- Defines the operating system the patch baseline applies to. The default value is WINDOWS
.OperatingSystem
public void setBaselineDescription(String baselineDescription)
The description of the patch baseline.
baselineDescription
- The description of the patch baseline.public String getBaselineDescription()
The description of the patch baseline.
public PatchBaselineIdentity withBaselineDescription(String baselineDescription)
The description of the patch baseline.
baselineDescription
- The description of the patch baseline.public void setDefaultBaseline(Boolean defaultBaseline)
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.
defaultBaseline
- 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.public Boolean getDefaultBaseline()
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.
public PatchBaselineIdentity withDefaultBaseline(Boolean defaultBaseline)
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.
defaultBaseline
- 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.public Boolean isDefaultBaseline()
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.
public String toString()
toString
in class Object
Object.toString()
public PatchBaselineIdentity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.