Class RemediationV2Item
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemediationV2Item.Builder,RemediationV2Item>
A remediation target.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic RemediationV2Item.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final RemediationGuidanceguidance()The remediation target's guidance.final inthashCode()final RemediationOutcomeoutcome()The outcome of the remediation target's resolution.final RemediationPrioritypriority()The remediation target's priority.final StringThe remediation target's priority.final RemediationSummaryDetailA summary of the remediation target.final RemediationResourceresource()The remediation target's associated resource.static Class<? extends RemediationV2Item.Builder> final RemediationStatusstatus()The current status of the remediation target.final StringThe current status of the remediation target.final StringThe unique identifier (ID) of the remediation target.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final RemediationTraittrait()The trait associated with the remediation target.final InstantThe remediation target's last updated timestamp.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
targetUid
The unique identifier (ID) of the remediation target.
- Returns:
- The unique identifier (ID) of the remediation target.
-
outcome
The outcome of the remediation target's resolution.
- Returns:
- The outcome of the remediation target's resolution.
-
priority
The remediation target's priority. Valid values are
Critical,High,Medium, andLow.If the service returns an enum value that is not available in the current SDK version,
prioritywill returnRemediationPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- The remediation target's priority. Valid values are
Critical,High,Medium, andLow. - See Also:
-
priorityAsString
The remediation target's priority. Valid values are
Critical,High,Medium, andLow.If the service returns an enum value that is not available in the current SDK version,
prioritywill returnRemediationPriority.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompriorityAsString().- Returns:
- The remediation target's priority. Valid values are
Critical,High,Medium, andLow. - See Also:
-
remediationSummary
A summary of the remediation target.
- Returns:
- A summary of the remediation target.
-
resource
The remediation target's associated resource.
- Returns:
- The remediation target's associated resource.
-
status
The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRemediationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
-
- See Also:
-
-
statusAsString
The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRemediationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the remediation target.
-
Newspecifies that the remediation target was newly identified. -
Updatedspecifies that the remediation target changed after it was identified. -
Resolvedspecifies that the remediation target is no longer present.
-
- See Also:
-
-
trait
The trait associated with the remediation target.
- Returns:
- The trait associated with the remediation target.
-
guidance
The remediation target's guidance. Returned only when
ShowGuidanceistruein the request.- Returns:
- The remediation target's guidance. Returned only when
ShowGuidanceistruein the request.
-
updatedAt
The remediation target's last updated timestamp.
For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
- Returns:
- The remediation target's last updated timestamp.
For more information about the validation and formatting of timestamp fields in Security Hub CSPM, see Timestamps.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<RemediationV2Item.Builder,RemediationV2Item> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-