@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreatePatchBaselineRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreatePatchBaselineRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreatePatchBaselineRequest |
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()
Defines the compliance level for approved patches.
|
String |
getClientToken()
User-provided idempotency token.
|
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.
|
String |
getOperatingSystem()
Defines the operating system the patch baseline applies to.
|
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)
Defines the compliance level for approved patches.
|
void |
setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
void |
setClientToken(String clientToken)
User-provided idempotency token.
|
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 |
setOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to.
|
void |
setOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to.
|
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.
|
CreatePatchBaselineRequest |
withApprovalRules(PatchRuleGroup approvalRules)
A set of rules used to include patches in the baseline.
|
CreatePatchBaselineRequest |
withApprovedPatches(Collection<String> approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest |
withApprovedPatches(String... approvedPatches)
A list of explicitly approved patches for the baseline.
|
CreatePatchBaselineRequest |
withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
CreatePatchBaselineRequest |
withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches.
|
CreatePatchBaselineRequest |
withClientToken(String clientToken)
User-provided idempotency token.
|
CreatePatchBaselineRequest |
withDescription(String description)
A description of the patch baseline.
|
CreatePatchBaselineRequest |
withGlobalFilters(PatchFilterGroup globalFilters)
A set of global filters used to exclude patches from the baseline.
|
CreatePatchBaselineRequest |
withName(String name)
The name of the patch baseline.
|
CreatePatchBaselineRequest |
withOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to.
|
CreatePatchBaselineRequest |
withOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to.
|
CreatePatchBaselineRequest |
withRejectedPatches(Collection<String> rejectedPatches)
A list of explicitly rejected patches for the baseline.
|
CreatePatchBaselineRequest |
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, withSdkRequestTimeoutpublic void setOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
operatingSystem - Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS,
AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.OperatingSystempublic String getOperatingSystem()
Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
OperatingSystempublic CreatePatchBaselineRequest withOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
operatingSystem - Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS,
AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.OperatingSystempublic void setOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
operatingSystem - Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS,
AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.OperatingSystempublic CreatePatchBaselineRequest withOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS, AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.
operatingSystem - Defines the operating system the patch baseline applies to. Supported operating systems include WINDOWS,
AMAZON_LINUX, UBUNTU and REDHAT_ENTERPRISE_LINUX. The Default value is WINDOWS.OperatingSystempublic 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel - Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. Valid compliance severity levels include the
following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.PatchComplianceLevelpublic String getApprovedPatchesComplianceLevel()
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
PatchComplianceLevelpublic CreatePatchBaselineRequest withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel - Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. Valid compliance severity levels include the
following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.PatchComplianceLevelpublic void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel - Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. Valid compliance severity levels include the
following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.PatchComplianceLevelpublic CreatePatchBaselineRequest withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. This means that if an approved patch is reported as missing, this is the severity of the compliance violation. Valid compliance severity levels include the following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.
approvedPatchesComplianceLevel - Defines the compliance level for approved patches. This means that if an approved patch is reported as
missing, this is the severity of the compliance violation. Valid compliance severity levels include the
following: CRITICAL, HIGH, MEDIUM, LOW, INFORMATIONAL, UNSPECIFIED. The default value is UNSPECIFIED.PatchComplianceLevelpublic 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest withDescription(String description)
A description of the patch baseline.
description - A description of the patch baseline.public void setClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String getClientToken()
User-provided idempotency token.
public CreatePatchBaselineRequest withClientToken(String clientToken)
User-provided idempotency token.
clientToken - User-provided idempotency token.public String toString()
toString in class ObjectObject.toString()public CreatePatchBaselineRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.