@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() |
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.
|
Boolean |
getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
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.
|
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.
|
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 |
setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
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.
|
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.
|
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 |
withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity)
Indicates whether the list of approved patches includes non-security updates that should be applied to the
instances.
|
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.
|
CreatePatchBaselineRequest |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the instances, including target operating systems and source
repositories.
|
CreatePatchBaselineRequest |
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 setOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
public String getOperatingSystem()
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
OperatingSystem
public CreatePatchBaselineRequest withOperatingSystem(String operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
public void setOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
public CreatePatchBaselineRequest withOperatingSystem(OperatingSystem operatingSystem)
Defines the operating system the patch baseline applies to. The Default value is WINDOWS.
operatingSystem
- Defines the operating system the patch baseline applies to. The Default value is WINDOWS.OperatingSystem
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 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.PatchComplianceLevel
public 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.
PatchComplianceLevel
public 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.PatchComplianceLevel
public 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.PatchComplianceLevel
public 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.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 CreatePatchBaselineRequest 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.
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 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 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 Object
Object.toString()
public CreatePatchBaselineRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.