@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Patch extends Object implements Serializable, Cloneable, StructuredPojo
Represents metadata about a patch.
Constructor and Description |
---|
Patch() |
Modifier and Type | Method and Description |
---|---|
Patch |
clone() |
boolean |
equals(Object obj) |
String |
getClassification()
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
String |
getContentUrl()
The URL where more information can be obtained about the patch.
|
String |
getDescription()
The description of the patch.
|
String |
getId()
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
|
String |
getKbNumber()
The Microsoft Knowledge Base ID of the patch.
|
String |
getLanguage()
The language of the patch if it's language-specific.
|
String |
getMsrcNumber()
The ID of the MSRC bulletin the patch is related to.
|
String |
getMsrcSeverity()
The severity of the patch (for example Critical, Important, Moderate).
|
String |
getProduct()
The specific product the patch is applicable for (for example, WindowsServer2016).
|
String |
getProductFamily()
The product family the patch is applicable for (for example, Windows).
|
Date |
getReleaseDate()
The date the patch was released.
|
String |
getTitle()
The title of the patch.
|
String |
getVendor()
The name of the vendor providing the patch.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
void |
setContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
|
void |
setDescription(String description)
The description of the patch.
|
void |
setId(String id)
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
|
void |
setKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
|
void |
setLanguage(String language)
The language of the patch if it's language-specific.
|
void |
setMsrcNumber(String msrcNumber)
The ID of the MSRC bulletin the patch is related to.
|
void |
setMsrcSeverity(String msrcSeverity)
The severity of the patch (for example Critical, Important, Moderate).
|
void |
setProduct(String product)
The specific product the patch is applicable for (for example, WindowsServer2016).
|
void |
setProductFamily(String productFamily)
The product family the patch is applicable for (for example, Windows).
|
void |
setReleaseDate(Date releaseDate)
The date the patch was released.
|
void |
setTitle(String title)
The title of the patch.
|
void |
setVendor(String vendor)
The name of the vendor providing the patch.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Patch |
withClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
|
Patch |
withContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
|
Patch |
withDescription(String description)
The description of the patch.
|
Patch |
withId(String id)
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
|
Patch |
withKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
|
Patch |
withLanguage(String language)
The language of the patch if it's language-specific.
|
Patch |
withMsrcNumber(String msrcNumber)
The ID of the MSRC bulletin the patch is related to.
|
Patch |
withMsrcSeverity(String msrcSeverity)
The severity of the patch (for example Critical, Important, Moderate).
|
Patch |
withProduct(String product)
The specific product the patch is applicable for (for example, WindowsServer2016).
|
Patch |
withProductFamily(String productFamily)
The product family the patch is applicable for (for example, Windows).
|
Patch |
withReleaseDate(Date releaseDate)
The date the patch was released.
|
Patch |
withTitle(String title)
The title of the patch.
|
Patch |
withVendor(String vendor)
The name of the vendor providing the patch.
|
public void setId(String id)
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
id
- The ID of the patch (this is different than the Microsoft Knowledge Base ID).public String getId()
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
public Patch withId(String id)
The ID of the patch (this is different than the Microsoft Knowledge Base ID).
id
- The ID of the patch (this is different than the Microsoft Knowledge Base ID).public void setReleaseDate(Date releaseDate)
The date the patch was released.
releaseDate
- The date the patch was released.public Date getReleaseDate()
The date the patch was released.
public Patch withReleaseDate(Date releaseDate)
The date the patch was released.
releaseDate
- The date the patch was released.public void setTitle(String title)
The title of the patch.
title
- The title of the patch.public String getTitle()
The title of the patch.
public Patch withTitle(String title)
The title of the patch.
title
- The title of the patch.public void setDescription(String description)
The description of the patch.
description
- The description of the patch.public String getDescription()
The description of the patch.
public Patch withDescription(String description)
The description of the patch.
description
- The description of the patch.public void setContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
contentUrl
- The URL where more information can be obtained about the patch.public String getContentUrl()
The URL where more information can be obtained about the patch.
public Patch withContentUrl(String contentUrl)
The URL where more information can be obtained about the patch.
contentUrl
- The URL where more information can be obtained about the patch.public void setVendor(String vendor)
The name of the vendor providing the patch.
vendor
- The name of the vendor providing the patch.public String getVendor()
The name of the vendor providing the patch.
public Patch withVendor(String vendor)
The name of the vendor providing the patch.
vendor
- The name of the vendor providing the patch.public void setProductFamily(String productFamily)
The product family the patch is applicable for (for example, Windows).
productFamily
- The product family the patch is applicable for (for example, Windows).public String getProductFamily()
The product family the patch is applicable for (for example, Windows).
public Patch withProductFamily(String productFamily)
The product family the patch is applicable for (for example, Windows).
productFamily
- The product family the patch is applicable for (for example, Windows).public void setProduct(String product)
The specific product the patch is applicable for (for example, WindowsServer2016).
product
- The specific product the patch is applicable for (for example, WindowsServer2016).public String getProduct()
The specific product the patch is applicable for (for example, WindowsServer2016).
public Patch withProduct(String product)
The specific product the patch is applicable for (for example, WindowsServer2016).
product
- The specific product the patch is applicable for (for example, WindowsServer2016).public void setClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
classification
- The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).public String getClassification()
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
public Patch withClassification(String classification)
The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).
classification
- The classification of the patch (for example, SecurityUpdates, Updates, CriticalUpdates).public void setMsrcSeverity(String msrcSeverity)
The severity of the patch (for example Critical, Important, Moderate).
msrcSeverity
- The severity of the patch (for example Critical, Important, Moderate).public String getMsrcSeverity()
The severity of the patch (for example Critical, Important, Moderate).
public Patch withMsrcSeverity(String msrcSeverity)
The severity of the patch (for example Critical, Important, Moderate).
msrcSeverity
- The severity of the patch (for example Critical, Important, Moderate).public void setKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
kbNumber
- The Microsoft Knowledge Base ID of the patch.public String getKbNumber()
The Microsoft Knowledge Base ID of the patch.
public Patch withKbNumber(String kbNumber)
The Microsoft Knowledge Base ID of the patch.
kbNumber
- The Microsoft Knowledge Base ID of the patch.public void setMsrcNumber(String msrcNumber)
The ID of the MSRC bulletin the patch is related to.
msrcNumber
- The ID of the MSRC bulletin the patch is related to.public String getMsrcNumber()
The ID of the MSRC bulletin the patch is related to.
public Patch withMsrcNumber(String msrcNumber)
The ID of the MSRC bulletin the patch is related to.
msrcNumber
- The ID of the MSRC bulletin the patch is related to.public void setLanguage(String language)
The language of the patch if it's language-specific.
language
- The language of the patch if it's language-specific.public String getLanguage()
The language of the patch if it's language-specific.
public Patch withLanguage(String language)
The language of the patch if it's language-specific.
language
- The language of the patch if it's language-specific.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.