@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePatchBaselineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePatchBaselineRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePatchBaselineRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
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()
Assigns a new compliance severity level to an existing 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 patch baseline to update.
|
String |
getDescription()
A description of the patch baseline.
|
PatchFilterGroup |
getGlobalFilters()
A set of global filters used to include patches in the baseline.
|
String |
getName()
The name of the patch baseline.
|
List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
String |
getRejectedPatchesAction()
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
Boolean |
getReplace()
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this
API request.
|
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.
|
Boolean |
isReplace()
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this
API request.
|
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)
Assigns a new compliance severity level to an existing patch baseline.
|
void |
setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing 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 patch baseline to update.
|
void |
setDescription(String description)
A description of the patch baseline.
|
void |
setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
|
void |
setName(String name)
The name of the patch baseline.
|
void |
setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
void |
setRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
void |
setRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
void |
setReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this
API request.
|
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.
|
UpdatePatchBaselineRequest |
withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
UpdatePatchBaselineRequest |
withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineRequest |
withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
UpdatePatchBaselineRequest |
withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
|
UpdatePatchBaselineRequest |
withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
|
UpdatePatchBaselineRequest |
withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
UpdatePatchBaselineRequest |
withBaselineId(String baselineId)
The ID of the patch baseline to update.
|
UpdatePatchBaselineRequest |
withDescription(String description)
A description of the patch baseline.
|
UpdatePatchBaselineRequest |
withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
|
UpdatePatchBaselineRequest |
withName(String name)
The name of the patch baseline.
|
UpdatePatchBaselineRequest |
withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineRequest |
withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
UpdatePatchBaselineRequest |
withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
UpdatePatchBaselineRequest |
withRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
UpdatePatchBaselineRequest |
withReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this
API request.
|
UpdatePatchBaselineRequest |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
UpdatePatchBaselineRequest |
withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setBaselineId(String baselineId)
The ID of the patch baseline to update.
baselineId
- The ID of the patch baseline to update.public String getBaselineId()
The ID of the patch baseline to update.
public UpdatePatchBaselineRequest withBaselineId(String baselineId)
The ID of the patch baseline to update.
baselineId
- The ID of the patch baseline to update.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 UpdatePatchBaselineRequest withName(String name)
The name of the patch baseline.
name
- The name of the patch baseline.public void setGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
globalFilters
- A set of global filters used to include patches in the baseline.public PatchFilterGroup getGlobalFilters()
A set of global filters used to include patches in the baseline.
public UpdatePatchBaselineRequest withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to include patches in the baseline.
globalFilters
- A set of global filters used to include patches in 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 UpdatePatchBaselineRequest 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.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public UpdatePatchBaselineRequest withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
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.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public UpdatePatchBaselineRequest withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
approvedPatches
- A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
public String getApprovedPatchesComplianceLevel()
Assigns a new compliance severity level to an existing patch baseline.
PatchComplianceLevel
public UpdatePatchBaselineRequest withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
public void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
public UpdatePatchBaselineRequest withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Assigns a new compliance severity level to an existing patch baseline.
approvedPatchesComplianceLevel
- Assigns a new compliance severity level to an existing patch baseline.PatchComplianceLevel
public 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 UpdatePatchBaselineRequest 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.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public UpdatePatchBaselineRequest withRejectedPatches(String... rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
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.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public UpdatePatchBaselineRequest withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
rejectedPatches
- A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
public void setRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as InstalledOther
. This is the default action if no option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is
installed only if it is a dependency of another package. It is considered compliant with the patch
baseline, and its status is reported as InstalledOther
. This is the default action if no
option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
PatchAction
public String getRejectedPatchesAction()
The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as InstalledOther
. This is the default action if no option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is
installed only if it is a dependency of another package. It is considered compliant with the patch
baseline, and its status is reported as InstalledOther
. This is the default action if no
option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
PatchAction
public UpdatePatchBaselineRequest withRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as InstalledOther
. This is the default action if no option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is
installed only if it is a dependency of another package. It is considered compliant with the patch
baseline, and its status is reported as InstalledOther
. This is the default action if no
option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
PatchAction
public void setRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as InstalledOther
. This is the default action if no option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is
installed only if it is a dependency of another package. It is considered compliant with the patch
baseline, and its status is reported as InstalledOther
. This is the default action if no
option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
PatchAction
public UpdatePatchBaselineRequest withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is installed only
if it is a dependency of another package. It is considered compliant with the patch baseline, and its status is
reported as InstalledOther
. This is the default action if no option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
rejectedPatchesAction
- The action for Patch Manager to take on patches included in the RejectedPackages
list.
ALLOW_AS_DEPENDENCY
: A package in the Rejected
patches list is
installed only if it is a dependency of another package. It is considered compliant with the patch
baseline, and its status is reported as InstalledOther
. This is the default action if no
option is specified.
BLOCK: Packages in the Rejected patches list, and packages that include them as dependencies, aren't installed by Patch Manager under any circumstances. If a package was installed before it was added to the Rejected patches list, or is installed outside of Patch Manager afterward, it's considered noncompliant with the patch baseline and its status is reported as InstalledRejected.
PatchAction
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 UpdatePatchBaselineRequest 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 UpdatePatchBaselineRequest 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 UpdatePatchBaselineRequest 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 void setReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this API request. Optional fields that aren't specified are set to null.
replace
- If True, then all fields that are required by the CreatePatchBaseline operation are also required
for this API request. Optional fields that aren't specified are set to null.public Boolean getReplace()
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this API request. Optional fields that aren't specified are set to null.
public UpdatePatchBaselineRequest withReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this API request. Optional fields that aren't specified are set to null.
replace
- If True, then all fields that are required by the CreatePatchBaseline operation are also required
for this API request. Optional fields that aren't specified are set to null.public Boolean isReplace()
If True, then all fields that are required by the CreatePatchBaseline operation are also required for this API request. Optional fields that aren't specified are set to null.
public String toString()
toString
in class Object
Object.toString()
public UpdatePatchBaselineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()