Interface ComplianceItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ComplianceItem.Builder,,- ComplianceItem> - SdkBuilder<ComplianceItem.Builder,,- ComplianceItem> - SdkPojo
- Enclosing class:
- ComplianceItem
- 
Method SummaryModifier and TypeMethodDescriptioncomplianceType(String complianceType) The compliance type.A "Key": "Value" tag combination for the compliance item.default ComplianceItem.BuilderexecutionSummary(Consumer<ComplianceExecutionSummary.Builder> executionSummary) A summary for the compliance item.executionSummary(ComplianceExecutionSummary executionSummary) A summary for the compliance item.An ID for the compliance item.resourceId(String resourceId) An ID for the resource.resourceType(String resourceType) The type of resource.The severity of the compliance status.severity(ComplianceSeverity severity) The severity of the compliance status.The status of the compliance item.status(ComplianceStatus status) The status of the compliance item.A title for the compliance item.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
complianceTypeThe compliance type. For example, Association (for a State Manager association), Patch, or Custom: stringare all valid compliance types.- Parameters:
- complianceType- The compliance type. For example, Association (for a State Manager association), Patch, or Custom:- stringare all valid compliance types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceTypeThe type of resource. ManagedInstanceis currently the only supported resource type.- Parameters:
- resourceType- The type of resource.- ManagedInstanceis currently the only supported resource type.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resourceIdAn ID for the resource. For a managed node, this is the node ID. - Parameters:
- resourceId- An ID for the resource. For a managed node, this is the node ID.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
idAn ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320. - Parameters:
- id- An ID for the compliance item. For example, if the compliance item is a Windows patch, the ID could be the number of the KB article; for example: KB4010320.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
titleA title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services. - Parameters:
- title- A title for the compliance item. For example, if the compliance item is a Windows patch, the title could be the title of the KB article for the patch; for example: Security Update for Active Directory Federation Services.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
statusThe status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable). - Parameters:
- status- The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
statusThe status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable). - Parameters:
- status- The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty string (for Windows patches that aren't applicable).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
severityThe severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified. - Parameters:
- severity- The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
severityThe severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified. - Parameters:
- severity- The severity of the compliance status. Severity can be one of the following: Critical, High, Medium, Low, Informational, Unspecified.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
executionSummaryA summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time. For State Manager associations, the ExecutionTimevalue represents when the compliance status was captured and aggregated by the Systems Manager service, not necessarily when the underlying association was executed on the managed node. State Manager updates compliance status for all associations on an instance whenever any association executes, which means multiple associations may show the same execution time even if they were executed at different times.- Parameters:
- executionSummary- A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time.- For State Manager associations, the - ExecutionTimevalue represents when the compliance status was captured and aggregated by the Systems Manager service, not necessarily when the underlying association was executed on the managed node. State Manager updates compliance status for all associations on an instance whenever any association executes, which means multiple associations may show the same execution time even if they were executed at different times.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executionSummarydefault ComplianceItem.Builder executionSummary(Consumer<ComplianceExecutionSummary.Builder> executionSummary) A summary for the compliance item. The summary includes an execution ID, the execution type (for example, command), and the execution time. For State Manager associations, the ExecutionTimevalue represents when the compliance status was captured and aggregated by the Systems Manager service, not necessarily when the underlying association was executed on the managed node. State Manager updates compliance status for all associations on an instance whenever any association executes, which means multiple associations may show the same execution time even if they were executed at different times.ComplianceExecutionSummary.Builderavoiding the need to create one manually viaComplianceExecutionSummary.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toexecutionSummary(ComplianceExecutionSummary).- Parameters:
- executionSummary- a consumer that will call methods on- ComplianceExecutionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
detailsA "Key": "Value" tag combination for the compliance item. - Parameters:
- details- A "Key": "Value" tag combination for the compliance item.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-