Class GetInvestigationResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.detective.model.DetectiveResponse
-
- software.amazon.awssdk.services.detective.model.GetInvestigationResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetInvestigationResponse.Builder,GetInvestigationResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetInvestigationResponse extends DetectiveResponse implements ToCopyableBuilder<GetInvestigationResponse.Builder,GetInvestigationResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetInvestigationResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetInvestigationResponse.Builderbuilder()InstantcreatedTime()The creation time of the investigation report in UTC time stamp format.StringentityArn()The unique Amazon Resource Name (ARN).EntityTypeentityType()Type of entity.StringentityTypeAsString()Type of entity.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgraphArn()The Amazon Resource Name (ARN) of the behavior graph.inthashCode()StringinvestigationId()The investigation ID of the investigation report.InstantscopeEndTime()The data and time when the investigation began.InstantscopeStartTime()The start date and time used to set the scope time within which you want to generate the investigation report.List<SdkField<?>>sdkFields()static Class<? extends GetInvestigationResponse.Builder>serializableBuilderClass()Severityseverity()The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.StringseverityAsString()The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.Statestate()The current state of the investigation.StringstateAsString()The current state of the investigation.Statusstatus()The status based on the completion status of the investigation.StringstatusAsString()The status based on the completion status of the investigation.GetInvestigationResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.detective.model.DetectiveResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
graphArn
public final String graphArn()
The Amazon Resource Name (ARN) of the behavior graph.
- Returns:
- The Amazon Resource Name (ARN) of the behavior graph.
-
investigationId
public final String investigationId()
The investigation ID of the investigation report.
- Returns:
- The investigation ID of the investigation report.
-
entityArn
public final String entityArn()
The unique Amazon Resource Name (ARN). Detective supports IAM user ARNs and IAM role ARNs.
- Returns:
- The unique Amazon Resource Name (ARN). Detective supports IAM user ARNs and IAM role ARNs.
-
entityType
public final EntityType entityType()
Type of entity. For example, Amazon Web Services accounts, such as an IAM user and/or IAM role.
If the service returns an enum value that is not available in the current SDK version,
entityTypewill returnEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentityTypeAsString().- Returns:
- Type of entity. For example, Amazon Web Services accounts, such as an IAM user and/or IAM role.
- See Also:
EntityType
-
entityTypeAsString
public final String entityTypeAsString()
Type of entity. For example, Amazon Web Services accounts, such as an IAM user and/or IAM role.
If the service returns an enum value that is not available in the current SDK version,
entityTypewill returnEntityType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromentityTypeAsString().- Returns:
- Type of entity. For example, Amazon Web Services accounts, such as an IAM user and/or IAM role.
- See Also:
EntityType
-
createdTime
public final Instant createdTime()
The creation time of the investigation report in UTC time stamp format.
- Returns:
- The creation time of the investigation report in UTC time stamp format.
-
scopeStartTime
public final Instant scopeStartTime()
The start date and time used to set the scope time within which you want to generate the investigation report. The value is an UTC ISO8601 formatted string. For example,
2021-08-18T16:35:56.284Z.- Returns:
- The start date and time used to set the scope time within which you want to generate the investigation
report. The value is an UTC ISO8601 formatted string. For example,
2021-08-18T16:35:56.284Z.
-
scopeEndTime
public final Instant scopeEndTime()
The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For example,
2021-08-18T16:35:56.284Z.- Returns:
- The data and time when the investigation began. The value is an UTC ISO8601 formatted string. For
example,
2021-08-18T16:35:56.284Z.
-
status
public final Status status()
The status based on the completion status of the investigation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status based on the completion status of the investigation.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The status based on the completion status of the investigation.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status based on the completion status of the investigation.
- See Also:
Status
-
severity
public final Severity severity()
The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.
- See Also:
Severity
-
severityAsString
public final String severityAsString()
The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.
If the service returns an enum value that is not available in the current SDK version,
severitywill returnSeverity.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromseverityAsString().- Returns:
- The severity assigned is based on the likelihood and impact of the indicators of compromise discovered in the investigation.
- See Also:
Severity
-
state
public final State state()
The current state of the investigation. An archived investigation indicates that you have completed reviewing the investigation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the investigation. An archived investigation indicates that you have completed reviewing the investigation.
- See Also:
State
-
stateAsString
public final String stateAsString()
The current state of the investigation. An archived investigation indicates that you have completed reviewing the investigation.
If the service returns an enum value that is not available in the current SDK version,
statewill returnState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The current state of the investigation. An archived investigation indicates that you have completed reviewing the investigation.
- See Also:
State
-
toBuilder
public GetInvestigationResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetInvestigationResponse.Builder,GetInvestigationResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetInvestigationResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetInvestigationResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-