Interface PatchSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PatchSummary.Builder,PatchSummary>,SdkBuilder<PatchSummary.Builder,PatchSummary>,SdkPojo
- Enclosing class:
- PatchSummary
public static interface PatchSummary.Builder extends SdkPojo, CopyableBuilder<PatchSummary.Builder,PatchSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PatchSummary.BuilderfailedCount(Integer failedCount)The number of patches from the compliance standard that failed to install.PatchSummary.Builderid(String id)The identifier of the compliance standard that was used to determine the patch compliance status.PatchSummary.BuilderinstalledCount(Integer installedCount)The number of patches from the compliance standard that were installed successfully.PatchSummary.BuilderinstalledOtherCount(Integer installedOtherCount)The number of installed patches that are not part of the compliance standard.PatchSummary.BuilderinstalledPendingReboot(Integer installedPendingReboot)The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.PatchSummary.BuilderinstalledRejectedCount(Integer installedRejectedCount)The number of patches that are installed but are also on a list of patches that the customer rejected.PatchSummary.BuildermissingCount(Integer missingCount)The number of patches that are part of the compliance standard but are not installed.PatchSummary.Builderoperation(String operation)The type of patch operation performed.PatchSummary.BuilderoperationEndTime(String operationEndTime)Indicates when the operation completed.PatchSummary.BuilderoperationStartTime(String operationStartTime)Indicates when the operation started.PatchSummary.BuilderrebootOption(String rebootOption)The reboot option specified for the instance.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
PatchSummary.Builder id(String id)
The identifier of the compliance standard that was used to determine the patch compliance status.
Length Constraints: Minimum length of 1. Maximum length of 256.
- Parameters:
id- The identifier of the compliance standard that was used to determine the patch compliance status.Length Constraints: Minimum length of 1. Maximum length of 256.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedCount
PatchSummary.Builder installedCount(Integer installedCount)
The number of patches from the compliance standard that were installed successfully.
The value can be an integer from
0to100000.- Parameters:
installedCount- The number of patches from the compliance standard that were installed successfully.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
missingCount
PatchSummary.Builder missingCount(Integer missingCount)
The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.
The value can be an integer from
0to100000.- Parameters:
missingCount- The number of patches that are part of the compliance standard but are not installed. The count includes patches that failed to install.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedCount
PatchSummary.Builder failedCount(Integer failedCount)
The number of patches from the compliance standard that failed to install.
The value can be an integer from
0to100000.- Parameters:
failedCount- The number of patches from the compliance standard that failed to install.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedOtherCount
PatchSummary.Builder installedOtherCount(Integer installedOtherCount)
The number of installed patches that are not part of the compliance standard.
The value can be an integer from
0to100000.- Parameters:
installedOtherCount- The number of installed patches that are not part of the compliance standard.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedRejectedCount
PatchSummary.Builder installedRejectedCount(Integer installedRejectedCount)
The number of patches that are installed but are also on a list of patches that the customer rejected.
The value can be an integer from
0to100000.- Parameters:
installedRejectedCount- The number of patches that are installed but are also on a list of patches that the customer rejected.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedPendingReboot
PatchSummary.Builder installedPendingReboot(Integer installedPendingReboot)
The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.
The value can be an integer from
0to100000.- Parameters:
installedPendingReboot- The number of patches that were applied, but that require the instance to be rebooted in order to be marked as installed.The value can be an integer from
0to100000.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationStartTime
PatchSummary.Builder operationStartTime(String operationStartTime)
Indicates when the operation started.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
operationStartTime- Indicates when the operation started.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operationEndTime
PatchSummary.Builder operationEndTime(String operationEndTime)
Indicates when the operation completed.
For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Parameters:
operationEndTime- Indicates when the operation completed.For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rebootOption
PatchSummary.Builder rebootOption(String rebootOption)
The reboot option specified for the instance.
Length Constraints: Minimum length of 1. Maximum length of 256.
- Parameters:
rebootOption- The reboot option specified for the instance.Length Constraints: Minimum length of 1. Maximum length of 256.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
PatchSummary.Builder operation(String operation)
The type of patch operation performed. For Patch Manager, the values are
SCANandINSTALL.Length Constraints: Minimum length of 1. Maximum length of 256.
- Parameters:
operation- The type of patch operation performed. For Patch Manager, the values areSCANandINSTALL.Length Constraints: Minimum length of 1. Maximum length of 256.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-