* The ID of the deleted patch baseline. *
*/ private String baselineId; /** ** The name of the patch baseline. *
*/ private String name; /** ** The operating system rule used by the updated 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* The compliance severity level assigned to the patch baseline after the update completed. *
*/ 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.
*
* The date when the patch baseline was created. *
*/ private java.util.Date createdDate; /** ** The date when 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 deleted patch baseline. *
* * @param baselineId * The ID of the deleted patch baseline. */ public void setBaselineId(String baselineId) { this.baselineId = baselineId; } /** ** The ID of the deleted patch baseline. *
* * @return The ID of the deleted patch baseline. */ public String getBaselineId() { return this.baselineId; } /** ** The ID of the deleted patch baseline. *
* * @param baselineId * The ID of the deleted patch baseline. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePatchBaselineResult 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 UpdatePatchBaselineResult withName(String name) { setName(name); return this; } /** ** The operating system rule used by the updated patch baseline. *
* * @param operatingSystem * The operating system rule used by the updated patch baseline. * @see OperatingSystem */ public void setOperatingSystem(String operatingSystem) { this.operatingSystem = operatingSystem; } /** ** The operating system rule used by the updated patch baseline. *
* * @return The operating system rule used by the updated patch baseline. * @see OperatingSystem */ public String getOperatingSystem() { return this.operatingSystem; } /** ** The operating system rule used by the updated patch baseline. *
* * @param operatingSystem * The operating system rule used by the updated patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see OperatingSystem */ public UpdatePatchBaselineResult withOperatingSystem(String operatingSystem) { setOperatingSystem(operatingSystem); return this; } /** ** The operating system rule used by the updated patch baseline. *
* * @param operatingSystem * The operating system rule used by the updated patch baseline. * @see OperatingSystem */ public void setOperatingSystem(OperatingSystem operatingSystem) { withOperatingSystem(operatingSystem); } /** ** The operating system rule used by the updated patch baseline. *
* * @param operatingSystem * The operating system rule used by the updated patch baseline. * @return Returns a reference to this object so that method calls can be chained together. * @see OperatingSystem */ public UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult withApprovedPatches(java.util.Collection* The compliance severity level assigned to the patch baseline after the update completed. *
* * @param approvedPatchesComplianceLevel * The compliance severity level assigned to the patch baseline after the update completed. * @see PatchComplianceLevel */ public void setApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel) { this.approvedPatchesComplianceLevel = approvedPatchesComplianceLevel; } /** ** The compliance severity level assigned to the patch baseline after the update completed. *
* * @return The compliance severity level assigned to the patch baseline after the update completed. * @see PatchComplianceLevel */ public String getApprovedPatchesComplianceLevel() { return this.approvedPatchesComplianceLevel; } /** ** The compliance severity level assigned to the patch baseline after the update completed. *
* * @param approvedPatchesComplianceLevel * The compliance severity level assigned to the patch baseline after the update completed. * @return Returns a reference to this object so that method calls can be chained together. * @see PatchComplianceLevel */ public UpdatePatchBaselineResult withApprovedPatchesComplianceLevel(String approvedPatchesComplianceLevel) { setApprovedPatchesComplianceLevel(approvedPatchesComplianceLevel); return this; } /** ** The compliance severity level assigned to the patch baseline after the update completed. *
* * @param approvedPatchesComplianceLevel * The compliance severity level assigned to the patch baseline after the update completed. * @see PatchComplianceLevel */ public void setApprovedPatchesComplianceLevel(PatchComplianceLevel approvedPatchesComplianceLevel) { withApprovedPatchesComplianceLevel(approvedPatchesComplianceLevel); } /** ** The compliance severity level assigned to the patch baseline after the update completed. *
* * @param approvedPatchesComplianceLevel * The compliance severity level assigned to the patch baseline after the update completed. * @return Returns a reference to this object so that method calls can be chained together. * @see PatchComplianceLevel */ public UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult withRejectedPatchesAction(PatchAction rejectedPatchesAction) {
this.rejectedPatchesAction = rejectedPatchesAction.toString();
return this;
}
/**
* * The date when the patch baseline was created. *
* * @param createdDate * The date when the patch baseline was created. */ public void setCreatedDate(java.util.Date createdDate) { this.createdDate = createdDate; } /** ** The date when the patch baseline was created. *
* * @return The date when the patch baseline was created. */ public java.util.Date getCreatedDate() { return this.createdDate; } /** ** The date when the patch baseline was created. *
* * @param createdDate * The date when the patch baseline was created. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePatchBaselineResult withCreatedDate(java.util.Date createdDate) { setCreatedDate(createdDate); return this; } /** ** The date when the patch baseline was last modified. *
* * @param modifiedDate * The date when the patch baseline was last modified. */ public void setModifiedDate(java.util.Date modifiedDate) { this.modifiedDate = modifiedDate; } /** ** The date when the patch baseline was last modified. *
* * @return The date when the patch baseline was last modified. */ public java.util.Date getModifiedDate() { return this.modifiedDate; } /** ** The date when the patch baseline was last modified. *
* * @param modifiedDate * The date when the patch baseline was last modified. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult 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 UpdatePatchBaselineResult withSources(java.util.Collection