@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() |
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
instances.
|
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 exclude patches from the baseline.
|
String |
getName()
The name of the patch baseline.
|
List<String> |
getRejectedPatches()
A list of explicitly rejected patches for the baseline.
|
Boolean |
getReplace()
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API
request.
|
List<PatchSource> |
getSources()
Information about the patches to use to update the instances, 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
instances.
|
Boolean |
isReplace()
If True, then all fields that are required by the CreatePatchBaseline action 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
instances.
|
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 exclude patches from 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 |
setReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API
request.
|
void |
setSources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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
instances.
|
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 exclude patches from 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 |
withReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API
request.
|
UpdatePatchBaselineRequest |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
UpdatePatchBaselineRequest |
withSources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
addHandlerContext, copyBaseTo, 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 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 UpdatePatchBaselineRequest 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 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 instances. The default value is 'false'. Applies to Linux instances only.
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances. The default value is 'false'. Applies to Linux instances only.public Boolean getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances only.
public UpdatePatchBaselineRequest withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances only.
approvedPatchesEnableNonSecurity
- Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances. The default value is 'false'. Applies to Linux instances only.public Boolean isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the instances. The default value is 'false'. Applies to Linux instances 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
For information about accepted formats for lists of approved patches and rejected patches, see Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS 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 Package Name Formats for Approved and Rejected Patch Lists in the AWS Systems Manager User Guide.
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 instances, including target operating systems and source repositories. Applies to Linux instances only.
public void setSources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
sources
- Information about the patches to use to update the instances, including target operating systems and
source repositories. Applies to Linux instances only.public UpdatePatchBaselineRequest withSources(PatchSource... sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances 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 instances, including target operating systems and
source repositories. Applies to Linux instances only.public UpdatePatchBaselineRequest withSources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source repositories. Applies to Linux instances only.
sources
- Information about the patches to use to update the instances, including target operating systems and
source repositories. Applies to Linux instances only.public void setReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreatePatchBaseline action are also required for this
API request. Optional fields that are not specified are set to null.public Boolean getReplace()
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
public UpdatePatchBaselineRequest withReplace(Boolean replace)
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
replace
- If True, then all fields that are required by the CreatePatchBaseline action are also required for this
API request. Optional fields that are not specified are set to null.public Boolean isReplace()
If True, then all fields that are required by the CreatePatchBaseline action are also required for this API request. Optional fields that are not specified are set to null.
public String toString()
toString
in class Object
Object.toString()
public UpdatePatchBaselineRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.