@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.
|
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.
|
int |
hashCode() |
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 |
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.
|
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 |
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.
|
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 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.
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 UpdatePatchBaselineRequest 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 UpdatePatchBaselineRequest 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)
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 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 UpdatePatchBaselineRequest 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 UpdatePatchBaselineRequest 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 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 String toString()
toString
in class Object
Object.toString()
public UpdatePatchBaselineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.