@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPatchBaselineResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetPatchBaselineResult() |
| Modifier and Type | Method and Description |
|---|---|
GetPatchBaselineResult |
clone() |
boolean |
equals(Object obj) |
PatchRuleGroup |
getApprovalRules()
A set of rules used to include patches in the baseline.
|
List<String> |
getApprovedPatches()
A list of explicitly approved patches for the baseline.
|
String |
getApprovedPatchesComplianceLevel()
Returns the specified compliance severity level for approved patches in the patch baseline.
|
Boolean |
getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
String |
getBaselineId()
The ID of the retrieved patch baseline.
|
Date |
getCreatedDate()
The date the patch baseline was created.
|
String |
getDescription()
A description of the patch baseline.
|
PatchFilterGroup |
getGlobalFilters()
A set of global filters used to exclude patches from the baseline.
|
Date |
getModifiedDate()
The date the patch baseline was last modified.
|
String |
getName()
The name of the patch baseline.
|
String |
getOperatingSystem()
Returns the operating system specified for the patch baseline.
|
List<String> |
getPatchGroups()
Patch groups included in the patch baseline.
|
List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
String |
getRejectedPatchesAction()
The action specified to take on patches included in the
RejectedPatches list. |
List<PatchSource> |
getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
int |
hashCode() |
Boolean |
isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
void |
setApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
void |
setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
void |
setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
void |
setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
void |
setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
void |
setBaselineId(String baselineId)
The ID of the retrieved patch baseline.
|
void |
setCreatedDate(Date createdDate)
The date the patch baseline was created.
|
void |
setDescription(String description)
A description of the patch baseline.
|
void |
setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
void |
setModifiedDate(Date modifiedDate)
The date the patch baseline was last modified.
|
void |
setName(String name)
The name of the patch baseline.
|
void |
setOperatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
|
void |
setOperatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
|
void |
setPatchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
|
void |
setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
void |
setRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatches list. |
void |
setRejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatches list. |
void |
setSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
String |
toString()
Returns a string representation of this object.
|
GetPatchBaselineResult |
withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
GetPatchBaselineResult |
withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
GetPatchBaselineResult |
withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
GetPatchBaselineResult |
withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
GetPatchBaselineResult |
withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
|
GetPatchBaselineResult |
withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
GetPatchBaselineResult |
withBaselineId(String baselineId)
The ID of the retrieved patch baseline.
|
GetPatchBaselineResult |
withCreatedDate(Date createdDate)
The date the patch baseline was created.
|
GetPatchBaselineResult |
withDescription(String description)
A description of the patch baseline.
|
GetPatchBaselineResult |
withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
GetPatchBaselineResult |
withModifiedDate(Date modifiedDate)
The date the patch baseline was last modified.
|
GetPatchBaselineResult |
withName(String name)
The name of the patch baseline.
|
GetPatchBaselineResult |
withOperatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
|
GetPatchBaselineResult |
withOperatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
|
GetPatchBaselineResult |
withPatchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
|
GetPatchBaselineResult |
withPatchGroups(String... patchGroups)
Patch groups included in the patch baseline.
|
GetPatchBaselineResult |
withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
GetPatchBaselineResult |
withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
GetPatchBaselineResult |
withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatches list. |
GetPatchBaselineResult |
withRejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the
RejectedPatches list. |
GetPatchBaselineResult |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
GetPatchBaselineResult |
withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setBaselineId(String baselineId)
The ID of the retrieved patch baseline.
baselineId - The ID of the retrieved patch baseline.public String getBaselineId()
The ID of the retrieved patch baseline.
public GetPatchBaselineResult withBaselineId(String baselineId)
The ID of the retrieved patch baseline.
baselineId - The ID of the retrieved patch baseline.public void setName(String name)
The name of the patch baseline.
name - The name of the patch baseline.public String getName()
The name of the patch baseline.
public GetPatchBaselineResult withName(String name)
The name of the patch baseline.
name - The name of the patch baseline.public void setOperatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem - Returns the operating system specified for the patch baseline.OperatingSystempublic String getOperatingSystem()
Returns the operating system specified for the patch baseline.
OperatingSystempublic GetPatchBaselineResult withOperatingSystem(String operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem - Returns the operating system specified for the patch baseline.OperatingSystempublic void setOperatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem - Returns the operating system specified for the patch baseline.OperatingSystempublic GetPatchBaselineResult withOperatingSystem(OperatingSystem operatingSystem)
Returns the operating system specified for the patch baseline.
operatingSystem - Returns the operating system specified for the patch baseline.OperatingSystempublic void setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
globalFilters - A set of global filters used to exclude patches from the baseline.public PatchFilterGroup getGlobalFilters()
A set of global filters used to exclude patches from the baseline.
public GetPatchBaselineResult withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
globalFilters - A set of global filters used to exclude patches from the baseline.public void setApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
approvalRules - A set of rules used to include patches in the baseline.public PatchRuleGroup getApprovalRules()
A set of rules used to include patches in the baseline.
public GetPatchBaselineResult withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
approvalRules - A set of rules used to include patches in the baseline.public List<String> getApprovedPatches()
A list of explicitly approved patches for the baseline.
public void setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches - A list of explicitly approved patches for the baseline.public GetPatchBaselineResult withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
NOTE: This method appends the values to the existing list (if any). Use
setApprovedPatches(java.util.Collection) or withApprovedPatches(java.util.Collection) if you
want to override the existing values.
approvedPatches - A list of explicitly approved patches for the baseline.public GetPatchBaselineResult withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
approvedPatches - A list of explicitly approved patches for the baseline.public void setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel - Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevelpublic String getApprovedPatchesComplianceLevel()
Returns the specified compliance severity level for approved patches in the patch baseline.
PatchComplianceLevelpublic GetPatchBaselineResult withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel - Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevelpublic void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel - Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevelpublic GetPatchBaselineResult withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Returns the specified compliance severity level for approved patches in the patch baseline.
approvedPatchesComplianceLevel - Returns the specified compliance severity level for approved patches in the patch baseline.PatchComplianceLevelpublic void setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.
approvedPatchesEnableNonSecurity - Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.public Boolean getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.
false. Applies to Linux managed nodes only.public GetPatchBaselineResult withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.
approvedPatchesEnableNonSecurity - Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.public Boolean isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes. The default value is false. Applies to Linux managed nodes only.
false. Applies to Linux managed nodes only.public List<String> getRejectedPatches()
A list of explicitly rejected patches for the baseline.
public void setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches - A list of explicitly rejected patches for the baseline.public GetPatchBaselineResult withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
NOTE: This method appends the values to the existing list (if any). Use
setRejectedPatches(java.util.Collection) or withRejectedPatches(java.util.Collection) if you
want to override the existing values.
rejectedPatches - A list of explicitly rejected patches for the baseline.public GetPatchBaselineResult withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
rejectedPatches - A list of explicitly rejected patches for the baseline.public void setRejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
rejectedPatchesAction - The action specified to take on patches included in the RejectedPatches list. A patch can be
allowed only if it is a dependency of another package, or blocked entirely along with packages that
include it as a dependency.PatchActionpublic String getRejectedPatchesAction()
The action specified to take on patches included in the RejectedPatches list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
RejectedPatches list. A patch can be
allowed only if it is a dependency of another package, or blocked entirely along with packages that
include it as a dependency.PatchActionpublic GetPatchBaselineResult withRejectedPatchesAction(String rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
rejectedPatchesAction - The action specified to take on patches included in the RejectedPatches list. A patch can be
allowed only if it is a dependency of another package, or blocked entirely along with packages that
include it as a dependency.PatchActionpublic void setRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
rejectedPatchesAction - The action specified to take on patches included in the RejectedPatches list. A patch can be
allowed only if it is a dependency of another package, or blocked entirely along with packages that
include it as a dependency.PatchActionpublic GetPatchBaselineResult withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action specified to take on patches included in the RejectedPatches list. A patch can be allowed
only if it is a dependency of another package, or blocked entirely along with packages that include it as a
dependency.
rejectedPatchesAction - The action specified to take on patches included in the RejectedPatches list. A patch can be
allowed only if it is a dependency of another package, or blocked entirely along with packages that
include it as a dependency.PatchActionpublic List<String> getPatchGroups()
Patch groups included in the patch baseline.
public void setPatchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
patchGroups - Patch groups included in the patch baseline.public GetPatchBaselineResult withPatchGroups(String... patchGroups)
Patch groups included in the patch baseline.
NOTE: This method appends the values to the existing list (if any). Use
setPatchGroups(java.util.Collection) or withPatchGroups(java.util.Collection) if you want to
override the existing values.
patchGroups - Patch groups included in the patch baseline.public GetPatchBaselineResult withPatchGroups(Collection<String> patchGroups)
Patch groups included in the patch baseline.
patchGroups - Patch groups included in the patch baseline.public void setCreatedDate(Date createdDate)
The date the patch baseline was created.
createdDate - The date the patch baseline was created.public Date getCreatedDate()
The date the patch baseline was created.
public GetPatchBaselineResult withCreatedDate(Date createdDate)
The date the patch baseline was created.
createdDate - The date the patch baseline was created.public void setModifiedDate(Date modifiedDate)
The date the patch baseline was last modified.
modifiedDate - The date the patch baseline was last modified.public Date getModifiedDate()
The date the patch baseline was last modified.
public GetPatchBaselineResult withModifiedDate(Date modifiedDate)
The date the patch baseline was last modified.
modifiedDate - The date the patch baseline was last modified.public void setDescription(String description)
A description of the patch baseline.
description - A description of the patch baseline.public String getDescription()
A description of the patch baseline.
public GetPatchBaselineResult withDescription(String description)
A description of the patch baseline.
description - A description of the patch baseline.public List<PatchSource> getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
public void setSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sources - Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public GetPatchBaselineResult withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection) or withSources(java.util.Collection) if you want to override
the existing values.
sources - Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public GetPatchBaselineResult withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source repositories. Applies to Linux managed nodes only.
sources - Information about the patches to use to update the managed nodes, including target operating systems and
source repositories. Applies to Linux managed nodes only.public String toString()
toString in class ObjectObject.toString()public GetPatchBaselineResult clone()