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 UTC time stamp of the creation time of the investigation report.StringentityArn()The unique Amazon Resource Name (ARN) of the IAM user and IAM role.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 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 for the scope time set to generate the investigation report.List<SdkField<?>>sdkFields()static Class<? extends GetInvestigationResponse.Builder>serializableBuilderClass()Severityseverity()Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.StringseverityAsString()Severity 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()Status based on the completion status of the investigation.StringstatusAsString()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 ARN of the behavior graph.
- Returns:
- The 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) of the IAM user and IAM role.
- Returns:
- The unique Amazon Resource Name (ARN) of the IAM user and IAM role.
-
entityType
public final EntityType entityType()
Type of entity. For example, Amazon Web Services accounts, such as IAM user and 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 IAM user and role.
- See Also:
EntityType
-
entityTypeAsString
public final String entityTypeAsString()
Type of entity. For example, Amazon Web Services accounts, such as IAM user and 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 IAM user and role.
- See Also:
EntityType
-
createdTime
public final Instant createdTime()
The UTC time stamp of the creation time of the investigation report.
- Returns:
- The UTC time stamp of the creation time of the investigation report.
-
scopeStartTime
public final Instant scopeStartTime()
The start date and time for the scope time set to generate the investigation report.
- Returns:
- The start date and time for the scope time set to generate the investigation report.
-
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()
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:
- Status based on the completion status of the investigation.
- See Also:
Status
-
statusAsString
public final String statusAsString()
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:
- Status based on the completion status of the investigation.
- See Also:
Status
-
severity
public final Severity severity()
Severity 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:
- Severity based on the likelihood and impact of the indicators of compromise discovered in the investigation.
- See Also:
Severity
-
severityAsString
public final String severityAsString()
Severity 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:
- Severity 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 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 you have completed reviewing the investigation.
- See Also:
State
-
stateAsString
public final String stateAsString()
The current state of the investigation. An archived investigation indicates 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 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
-
-