* The ID of the retrieved patch baseline. *
*/ private String baselineId; /** ** The name of the patch baseline. *
*/ private String name; /** ** Returns the operating system specified for the patch baseline. *
*/ private String operatingSystem; /** ** A set of global filters used to exclude patches from the baseline. *
*/ private PatchFilterGroup globalFilters; /** ** A set of rules used to include patches in the baseline. *
*/ private PatchRuleGroup approvalRules; /** ** A list of explicitly approved patches for the baseline. *
*/ private com.amazonaws.internal.SdkInternalList* Returns the specified compliance severity level for approved patches in the patch baseline. *
*/ private String approvedPatchesComplianceLevel; /** *
* 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.
*
* A list of explicitly rejected patches for the baseline. *
*/ private com.amazonaws.internal.SdkInternalList
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
* Patch groups included in the patch baseline. *
*/ private com.amazonaws.internal.SdkInternalList* The date the patch baseline was created. *
*/ private java.util.Date createdDate; /** ** The date the patch baseline was last modified. *
*/ private java.util.Date modifiedDate; /** ** A description of the patch baseline. *
*/ private String description; /** ** Information about the patches to use to update the managed nodes, including target operating systems and source * repositories. Applies to Linux managed nodes only. *
*/ private com.amazonaws.internal.SdkInternalList* The ID of the retrieved patch baseline. *
* * @param baselineId * The ID of the retrieved patch baseline. */ public void setBaselineId(String baselineId) { this.baselineId = baselineId; } /** ** The ID of the retrieved patch baseline. *
* * @return The ID of the retrieved patch baseline. */ public String getBaselineId() { return this.baselineId; } /** ** The ID of the retrieved patch baseline. *
* * @param baselineId * The ID of the retrieved patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withBaselineId(String baselineId) { setBaselineId(baselineId); return this; } /** ** The name of the patch baseline. *
* * @param name * The name of the patch baseline. */ public void setName(String name) { this.name = name; } /** ** The name of the patch baseline. *
* * @return The name of the patch baseline. */ public String getName() { return this.name; } /** ** The name of the patch baseline. *
* * @param name * The name of the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withName(String name) { setName(name); return this; } /** ** Returns the operating system specified for the patch baseline. *
* * @param operatingSystem * Returns the operating system specified for the patch baseline. * @see OperatingSystem */ public void setOperatingSystem(String operatingSystem) { this.operatingSystem = operatingSystem; } /** ** Returns the operating system specified for the patch baseline. *
* * @return Returns the operating system specified for the patch baseline. * @see OperatingSystem */ public String getOperatingSystem() { return this.operatingSystem; } /** ** Returns the operating system specified for the patch baseline. *
* * @param operatingSystem * Returns the operating system specified for the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see OperatingSystem */ public GetPatchBaselineResult withOperatingSystem(String operatingSystem) { setOperatingSystem(operatingSystem); return this; } /** ** Returns the operating system specified for the patch baseline. *
* * @param operatingSystem * Returns the operating system specified for the patch baseline. * @see OperatingSystem */ public void setOperatingSystem(OperatingSystem operatingSystem) { withOperatingSystem(operatingSystem); } /** ** Returns the operating system specified for the patch baseline. *
* * @param operatingSystem * Returns the operating system specified for the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see OperatingSystem */ public GetPatchBaselineResult withOperatingSystem(OperatingSystem operatingSystem) { this.operatingSystem = operatingSystem.toString(); return this; } /** ** A set of global filters used to exclude patches from the baseline. *
* * @param globalFilters * A set of global filters used to exclude patches from the baseline. */ public void setGlobalFilters(PatchFilterGroup globalFilters) { this.globalFilters = globalFilters; } /** ** A set of global filters used to exclude patches from the baseline. *
* * @return A set of global filters used to exclude patches from the baseline. */ public PatchFilterGroup getGlobalFilters() { return this.globalFilters; } /** ** A set of global filters used to exclude patches from the baseline. *
* * @param globalFilters * A set of global filters used to exclude patches from the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withGlobalFilters(PatchFilterGroup globalFilters) { setGlobalFilters(globalFilters); return this; } /** ** A set of rules used to include patches in the baseline. *
* * @param approvalRules * A set of rules used to include patches in the baseline. */ public void setApprovalRules(PatchRuleGroup approvalRules) { this.approvalRules = approvalRules; } /** ** A set of rules used to include patches in the baseline. *
* * @return A set of rules used to include patches in the baseline. */ public PatchRuleGroup getApprovalRules() { return this.approvalRules; } /** ** A set of rules used to include patches in the baseline. *
* * @param approvalRules * A set of rules used to include patches in the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withApprovalRules(PatchRuleGroup approvalRules) { setApprovalRules(approvalRules); return this; } /** ** A list of explicitly approved patches for the baseline. *
* * @return A list of explicitly approved patches for the baseline. */ public java.util.List* A list of explicitly approved patches for the baseline. *
* * @param approvedPatches * A list of explicitly approved patches for the baseline. */ public void setApprovedPatches(java.util.Collection* A list of explicitly approved patches for the baseline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setApprovedPatches(java.util.Collection)} or {@link #withApprovedPatches(java.util.Collection)} if you * want to override the existing values. *
* * @param approvedPatches * A list of explicitly approved patches for the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withApprovedPatches(String... approvedPatches) { if (this.approvedPatches == null) { setApprovedPatches(new com.amazonaws.internal.SdkInternalList* A list of explicitly approved patches for the baseline. *
* * @param approvedPatches * A list of explicitly approved patches for the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withApprovedPatches(java.util.Collection* Returns the specified compliance severity level for approved patches in the patch baseline. *
* * @param approvedPatchesComplianceLevel * Returns the specified compliance severity level for approved patches in the patch baseline. * @see PatchComplianceLevel */ public void setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel) { this.approvedPatchesComplianceLevel = approvedPatchesComplianceLevel; } /** ** Returns the specified compliance severity level for approved patches in the patch baseline. *
* * @return Returns the specified compliance severity level for approved patches in the patch baseline. * @see PatchComplianceLevel */ public String getApprovedPatchesComplianceLevel() { return this.approvedPatchesComplianceLevel; } /** ** Returns the specified compliance severity level for approved patches in the patch baseline. *
* * @param approvedPatchesComplianceLevel * Returns the specified compliance severity level for approved patches in the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see PatchComplianceLevel */ public GetPatchBaselineResult withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel) { setApprovedPatchesComplianceLevel(approvedPatchesComplianceLevel); return this; } /** ** Returns the specified compliance severity level for approved patches in the patch baseline. *
* * @param approvedPatchesComplianceLevel * Returns the specified compliance severity level for approved patches in the patch baseline. * @see PatchComplianceLevel */ public void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel) { withApprovedPatchesComplianceLevel(approvedPatchesComplianceLevel); } /** ** Returns the specified compliance severity level for approved patches in the patch baseline. *
* * @param approvedPatchesComplianceLevel * Returns the specified compliance severity level for approved patches in the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see PatchComplianceLevel */ public GetPatchBaselineResult withApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel) { this.approvedPatchesComplianceLevel = approvedPatchesComplianceLevel.toString(); return this; } /** *
* 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 void setApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity) {
this.approvedPatchesEnableNonSecurity = 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.
*
false
. Applies to Linux managed nodes only.
*/
public Boolean getApprovedPatchesEnableNonSecurity() {
return this.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.
*
false
. Applies to Linux managed nodes only.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public GetPatchBaselineResult withApprovedPatchesEnableNonSecurity(Boolean approvedPatchesEnableNonSecurity) {
setApprovedPatchesEnableNonSecurity(approvedPatchesEnableNonSecurity);
return this;
}
/**
*
* 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 Boolean isApprovedPatchesEnableNonSecurity() {
return this.approvedPatchesEnableNonSecurity;
}
/**
* * A list of explicitly rejected patches for the baseline. *
* * @return A list of explicitly rejected patches for the baseline. */ public java.util.List* A list of explicitly rejected patches for the baseline. *
* * @param rejectedPatches * A list of explicitly rejected patches for the baseline. */ public void setRejectedPatches(java.util.Collection* A list of explicitly rejected patches for the baseline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setRejectedPatches(java.util.Collection)} or {@link #withRejectedPatches(java.util.Collection)} if you * want to override the existing values. *
* * @param rejectedPatches * A list of explicitly rejected patches for the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withRejectedPatches(String... rejectedPatches) { if (this.rejectedPatches == null) { setRejectedPatches(new com.amazonaws.internal.SdkInternalList* A list of explicitly rejected patches for the baseline. *
* * @param rejectedPatches * A list of explicitly rejected patches for the baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withRejectedPatches(java.util.Collection
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
RejectedPatches
list. A patch can be
* allowed only if it is a dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
* @see PatchAction
*/
public void setRejectedPatchesAction(String rejectedPatchesAction) {
this.rejectedPatchesAction = rejectedPatchesAction;
}
/**
*
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
RejectedPatches
list. A patch can be
* allowed only if it is a dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
* @see PatchAction
*/
public String getRejectedPatchesAction() {
return this.rejectedPatchesAction;
}
/**
*
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
RejectedPatches
list. A patch can be
* allowed only if it is a dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PatchAction
*/
public GetPatchBaselineResult withRejectedPatchesAction(String rejectedPatchesAction) {
setRejectedPatchesAction(rejectedPatchesAction);
return this;
}
/**
*
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
RejectedPatches
list. A patch can be
* allowed only if it is a dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
* @see PatchAction
*/
public void setRejectedPatchesAction(PatchAction rejectedPatchesAction) {
withRejectedPatchesAction(rejectedPatchesAction);
}
/**
*
* The action specified to take on patches included in the RejectedPatches
list. A patch can be allowed
* only if it is a dependency of another package, or blocked entirely along with packages that include it as a
* dependency.
*
RejectedPatches
list. A patch can be
* allowed only if it is a dependency of another package, or blocked entirely along with packages that
* include it as a dependency.
* @return Returns a reference to this object so that method calls can be chained together.
* @see PatchAction
*/
public GetPatchBaselineResult withRejectedPatchesAction(PatchAction rejectedPatchesAction) {
this.rejectedPatchesAction = rejectedPatchesAction.toString();
return this;
}
/**
* * Patch groups included in the patch baseline. *
* * @return Patch groups included in the patch baseline. */ public java.util.List* Patch groups included in the patch baseline. *
* * @param patchGroups * Patch groups included in the patch baseline. */ public void setPatchGroups(java.util.Collection* Patch groups included in the patch baseline. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setPatchGroups(java.util.Collection)} or {@link #withPatchGroups(java.util.Collection)} if you want to * override the existing values. *
* * @param patchGroups * Patch groups included in the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withPatchGroups(String... patchGroups) { if (this.patchGroups == null) { setPatchGroups(new com.amazonaws.internal.SdkInternalList* Patch groups included in the patch baseline. *
* * @param patchGroups * Patch groups included in the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withPatchGroups(java.util.Collection* The date the patch baseline was created. *
* * @param createdDate * The date the patch baseline was created. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The date the patch baseline was created. *
* * @return The date the patch baseline was created. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The date the patch baseline was created. *
* * @param createdDate * The date the patch baseline was created. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The date the patch baseline was last modified. *
* * @param modifiedDate * The date the patch baseline was last modified. */ public void setModifiedDate(java.util.Date modifiedDate) { this.modifiedDate = modifiedDate; } /** ** The date the patch baseline was last modified. *
* * @return The date the patch baseline was last modified. */ public java.util.Date getModifiedDate() { return this.modifiedDate; } /** ** The date the patch baseline was last modified. *
* * @param modifiedDate * The date the patch baseline was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withModifiedDate(java.util.Date modifiedDate) { setModifiedDate(modifiedDate); return this; } /** ** A description of the patch baseline. *
* * @param description * A description of the patch baseline. */ public void setDescription(String description) { this.description = description; } /** ** A description of the patch baseline. *
* * @return A description of the patch baseline. */ public String getDescription() { return this.description; } /** ** A description of the patch baseline. *
* * @param description * A description of the patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withDescription(String description) { setDescription(description); return this; } /** ** Information about the patches to use to update the managed nodes, including target operating systems and source * repositories. Applies to Linux managed nodes only. *
* * @return 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 java.util.List* Information about the patches to use to update the managed nodes, including target operating systems and source * repositories. Applies to Linux managed nodes only. *
* * @param 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 setSources(java.util.Collection* 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 * {@link #setSources(java.util.Collection)} or {@link #withSources(java.util.Collection)} if you want to override * the existing values. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withSources(PatchSource... sources) { if (this.sources == null) { setSources(new com.amazonaws.internal.SdkInternalList* Information about the patches to use to update the managed nodes, including target operating systems and source * repositories. Applies to Linux managed nodes only. *
* * @param 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. * @return Returns a reference to this object so that method calls can be chained together. */ public GetPatchBaselineResult withSources(java.util.Collection