@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.
|
Boolean |
getApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
String |
getClientToken()
User-provided idempotency token.
|
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.
|
String |
getOperatingSystem()
Defines the operating system the patch baseline applies to.
|
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. |
List<PatchSource> |
getSources()
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
List<Tag> |
getTags()
Optional metadata that you assign to a resource.
|
int |
hashCode() |
Boolean |
isApprovedPatchesEnableNonSecurity()
Indicates whether the list of approved patches includes non-security updates that should be applied to the
managed nodes.
|
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
managed nodes.
|
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 include patches in 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 |
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 |
setSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
void |
setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
String |
toString()
Returns a string representation of this object.
|
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
managed nodes.
|
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 include patches in 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 |
withRejectedPatchesAction(PatchAction rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
CreatePatchBaselineRequest |
withRejectedPatchesAction(String rejectedPatchesAction)
The action for Patch Manager to take on patches included in the
RejectedPackages list. |
CreatePatchBaselineRequest |
withSources(Collection<PatchSource> sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
CreatePatchBaselineRequest |
withSources(PatchSource... sources)
Information about the patches to use to update the managed nodes, including target operating systems and source
repositories.
|
CreatePatchBaselineRequest |
withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource.
|
CreatePatchBaselineRequest |
withTags(Tag... tags)
Optional metadata that you assign to a resource.
|
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 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
.
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 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 CreatePatchBaselineRequest 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 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.
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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value
describes the severity of the compliance violation. The default value is UNSPECIFIED
.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation. The default value is UNSPECIFIED
.PatchComplianceLevel
public String getApprovedPatchesComplianceLevel()
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value
describes the severity of the compliance violation. The default value is UNSPECIFIED
.
UNSPECIFIED
.PatchComplianceLevel
public CreatePatchBaselineRequest withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value
describes the severity of the compliance violation. The default value is UNSPECIFIED
.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation. The default value is UNSPECIFIED
.PatchComplianceLevel
public void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value
describes the severity of the compliance violation. The default value is UNSPECIFIED
.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation. The default value is UNSPECIFIED
.PatchComplianceLevel
public CreatePatchBaselineRequest withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel)
Defines the compliance level for approved patches. When an approved patch is reported as missing, this value
describes the severity of the compliance violation. The default value is UNSPECIFIED
.
approvedPatchesComplianceLevel
- Defines the compliance level for approved patches. When an approved patch is reported as missing, this
value describes the severity of the compliance violation. 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
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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 RejectedPatches
list, and packages that include them as
dependencies, aren't installed under any circumstances. If a package was installed before it was added to the
Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include
them as dependencies, aren't installed under any circumstances. If a package was installed before it was
added to the Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include them as
dependencies, aren't installed under any circumstances. If a package was installed before it was added to the
Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include
them as dependencies, aren't installed under any circumstances. If a package was installed before it was
added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its
status is reported as InstalledRejected
.
PatchAction
public CreatePatchBaselineRequest 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 RejectedPatches
list, and packages that include them as
dependencies, aren't installed under any circumstances. If a package was installed before it was added to the
Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include
them as dependencies, aren't installed under any circumstances. If a package was installed before it was
added to the Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include them as
dependencies, aren't installed under any circumstances. If a package was installed before it was added to the
Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include
them as dependencies, aren't installed under any circumstances. If a package was installed before it was
added to the Rejected patches list, it is considered non-compliant with the patch baseline, and its status
is reported as InstalledRejected
.
PatchAction
public CreatePatchBaselineRequest 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 RejectedPatches
list, and packages that include them as
dependencies, aren't installed under any circumstances. If a package was installed before it was added to the
Rejected patches list, it is considered non-compliant 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 RejectedPatches
list, and packages that include
them as dependencies, aren't installed under any circumstances. If a package was installed before it was
added to the Rejected patches list, it is considered non-compliant 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 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 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 CreatePatchBaselineRequest 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 CreatePatchBaselineRequest 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 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 List<Tag> getTags()
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to. In this case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
public void setTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to. In this case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
tags
- Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different
ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to
identify the severity level of patches it specifies and the operating system family it applies to. In this
case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
public CreatePatchBaselineRequest withTags(Tag... tags)
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to. In this case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different
ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to
identify the severity level of patches it specifies and the operating system family it applies to. In this
case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
public CreatePatchBaselineRequest withTags(Collection<Tag> tags)
Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to identify the severity level of patches it specifies and the operating system family it applies to. In this case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
tags
- Optional metadata that you assign to a resource. Tags enable you to categorize a resource in different
ways, such as by purpose, owner, or environment. For example, you might want to tag a patch baseline to
identify the severity level of patches it specifies and the operating system family it applies to. In this
case, you could specify the following key-value pairs:
Key=PatchSeverity,Value=Critical
Key=OS,Value=Windows
To add tags to an existing patch baseline, use the AddTagsToResource operation.
public String toString()
toString
in class Object
Object.toString()
public CreatePatchBaselineRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()