Class GetCaseResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.securityir.model.SecurityIrResponse
-
- software.amazon.awssdk.services.securityir.model.GetCaseResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetCaseResponse.Builder,GetCaseResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetCaseResponse extends SecurityIrResponse implements ToCopyableBuilder<GetCaseResponse.Builder,GetCaseResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetCaseResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstantactualIncidentStartDate()Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.static GetCaseResponse.Builderbuilder()StringcaseArn()Response element for GetCase that provides the case ARNList<CaseAttachmentAttributes>caseAttachments()Response element for GetCase that provides a list of current case attachments.CaseStatuscaseStatus()Response element for GetCase that provides the case status.StringcaseStatusAsString()Response element for GetCase that provides the case status.InstantclosedDate()Response element for GetCase that provides the date a specified case was closed.ClosureCodeclosureCode()Response element for GetCase that provides the summary code for why a case was closed.StringclosureCodeAsString()Response element for GetCase that provides the summary code for why a case was closed.InstantcreatedDate()Response element for GetCase that provides the date the case was created.Stringdescription()Response element for GetCase that provides contents of the case description.EngagementTypeengagementType()Response element for GetCase that provides the engagement type.StringengagementTypeAsString()Response element for GetCase that provides the engagement type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasCaseAttachments()For responses, this returns true if the service returned a value for the CaseAttachments property.inthashCode()booleanhasImpactedAccounts()For responses, this returns true if the service returned a value for the ImpactedAccounts property.booleanhasImpactedAwsRegions()For responses, this returns true if the service returned a value for the ImpactedAwsRegions property.booleanhasImpactedServices()For responses, this returns true if the service returned a value for the ImpactedServices property.booleanhasThreatActorIpAddresses()For responses, this returns true if the service returned a value for the ThreatActorIpAddresses property.booleanhasWatchers()For responses, this returns true if the service returned a value for the Watchers property.List<String>impactedAccounts()Response element for GetCase that provides a list of impacted accounts.List<ImpactedAwsRegion>impactedAwsRegions()Response element for GetCase that provides the impacted regions.List<String>impactedServices()Response element for GetCase that provides a list of impacted services.InstantlastUpdatedDate()Response element for GetCase that provides the date a case was last modified.PendingActionpendingAction()Response element for GetCase that provides identifies the case is waiting on customer input.StringpendingActionAsString()Response element for GetCase that provides identifies the case is waiting on customer input.InstantreportedIncidentStartDate()Response element for GetCase that provides the customer provided incident start date.ResolverTyperesolverType()Response element for GetCase that provides the current resolver types.StringresolverTypeAsString()Response element for GetCase that provides the current resolver types.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetCaseResponse.Builder>serializableBuilderClass()List<ThreatActorIp>threatActorIpAddresses()Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.Stringtitle()Response element for GetCase that provides the case title.GetCaseResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<Watcher>watchers()Response element for GetCase that provides a list of Watchers added to the case.-
Methods inherited from class software.amazon.awssdk.services.securityir.model.SecurityIrResponse
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
-
title
public final String title()
Response element for GetCase that provides the case title.
- Returns:
- Response element for GetCase that provides the case title.
-
caseArn
public final String caseArn()
Response element for GetCase that provides the case ARN
- Returns:
- Response element for GetCase that provides the case ARN
-
description
public final String description()
Response element for GetCase that provides contents of the case description.
- Returns:
- Response element for GetCase that provides contents of the case description.
-
caseStatus
public final CaseStatus caseStatus()
Response element for GetCase that provides the case status. Options for statuses include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | ClosedIf the service returns an enum value that is not available in the current SDK version,
caseStatuswill returnCaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcaseStatusAsString().- Returns:
- Response element for GetCase that provides the case status. Options for statuses include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed - See Also:
CaseStatus
-
caseStatusAsString
public final String caseStatusAsString()
Response element for GetCase that provides the case status. Options for statuses include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | ClosedIf the service returns an enum value that is not available in the current SDK version,
caseStatuswill returnCaseStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcaseStatusAsString().- Returns:
- Response element for GetCase that provides the case status. Options for statuses include
Submitted | Detection and Analysis | Eradication, Containment and Recovery | Post-Incident Activities | Closed - See Also:
CaseStatus
-
engagementType
public final EngagementType engagementType()
Response element for GetCase that provides the engagement type. Options for engagement type include
Active Security Event | InvestigationsIf the service returns an enum value that is not available in the current SDK version,
engagementTypewill returnEngagementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengagementTypeAsString().- Returns:
- Response element for GetCase that provides the engagement type. Options for engagement type include
Active Security Event | Investigations - See Also:
EngagementType
-
engagementTypeAsString
public final String engagementTypeAsString()
Response element for GetCase that provides the engagement type. Options for engagement type include
Active Security Event | InvestigationsIf the service returns an enum value that is not available in the current SDK version,
engagementTypewill returnEngagementType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengagementTypeAsString().- Returns:
- Response element for GetCase that provides the engagement type. Options for engagement type include
Active Security Event | Investigations - See Also:
EngagementType
-
reportedIncidentStartDate
public final Instant reportedIncidentStartDate()
Response element for GetCase that provides the customer provided incident start date.
- Returns:
- Response element for GetCase that provides the customer provided incident start date.
-
actualIncidentStartDate
public final Instant actualIncidentStartDate()
Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.
- Returns:
- Response element for GetCase that provides the actual incident start date as identified by data analysis during the investigation.
-
hasImpactedAwsRegions
public final boolean hasImpactedAwsRegions()
For responses, this returns true if the service returned a value for the ImpactedAwsRegions property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
impactedAwsRegions
public final List<ImpactedAwsRegion> impactedAwsRegions()
Response element for GetCase that provides the impacted regions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasImpactedAwsRegions()method.- Returns:
- Response element for GetCase that provides the impacted regions.
-
hasThreatActorIpAddresses
public final boolean hasThreatActorIpAddresses()
For responses, this returns true if the service returned a value for the ThreatActorIpAddresses property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
threatActorIpAddresses
public final List<ThreatActorIp> threatActorIpAddresses()
Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasThreatActorIpAddresses()method.- Returns:
- Response element for GetCase that provides a list of suspicious IP addresses associated with unauthorized activity.
-
pendingAction
public final PendingAction pendingAction()
Response element for GetCase that provides identifies the case is waiting on customer input.
If the service returns an enum value that is not available in the current SDK version,
pendingActionwill returnPendingAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompendingActionAsString().- Returns:
- Response element for GetCase that provides identifies the case is waiting on customer input.
- See Also:
PendingAction
-
pendingActionAsString
public final String pendingActionAsString()
Response element for GetCase that provides identifies the case is waiting on customer input.
If the service returns an enum value that is not available in the current SDK version,
pendingActionwill returnPendingAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompendingActionAsString().- Returns:
- Response element for GetCase that provides identifies the case is waiting on customer input.
- See Also:
PendingAction
-
hasImpactedAccounts
public final boolean hasImpactedAccounts()
For responses, this returns true if the service returned a value for the ImpactedAccounts property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
impactedAccounts
public final List<String> impactedAccounts()
Response element for GetCase that provides a list of impacted accounts.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasImpactedAccounts()method.- Returns:
- Response element for GetCase that provides a list of impacted accounts.
-
hasWatchers
public final boolean hasWatchers()
For responses, this returns true if the service returned a value for the Watchers property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
watchers
public final List<Watcher> watchers()
Response element for GetCase that provides a list of Watchers added to the case.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasWatchers()method.- Returns:
- Response element for GetCase that provides a list of Watchers added to the case.
-
createdDate
public final Instant createdDate()
Response element for GetCase that provides the date the case was created.
- Returns:
- Response element for GetCase that provides the date the case was created.
-
lastUpdatedDate
public final Instant lastUpdatedDate()
Response element for GetCase that provides the date a case was last modified.
- Returns:
- Response element for GetCase that provides the date a case was last modified.
-
closureCode
public final ClosureCode closureCode()
Response element for GetCase that provides the summary code for why a case was closed.
If the service returns an enum value that is not available in the current SDK version,
closureCodewill returnClosureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclosureCodeAsString().- Returns:
- Response element for GetCase that provides the summary code for why a case was closed.
- See Also:
ClosureCode
-
closureCodeAsString
public final String closureCodeAsString()
Response element for GetCase that provides the summary code for why a case was closed.
If the service returns an enum value that is not available in the current SDK version,
closureCodewill returnClosureCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclosureCodeAsString().- Returns:
- Response element for GetCase that provides the summary code for why a case was closed.
- See Also:
ClosureCode
-
resolverType
public final ResolverType resolverType()
Response element for GetCase that provides the current resolver types. Options include
self-supported | AWS-supported.If the service returns an enum value that is not available in the current SDK version,
resolverTypewill returnResolverType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresolverTypeAsString().- Returns:
- Response element for GetCase that provides the current resolver types. Options include
self-supported | AWS-supported. - See Also:
ResolverType
-
resolverTypeAsString
public final String resolverTypeAsString()
Response element for GetCase that provides the current resolver types. Options include
self-supported | AWS-supported.If the service returns an enum value that is not available in the current SDK version,
resolverTypewill returnResolverType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresolverTypeAsString().- Returns:
- Response element for GetCase that provides the current resolver types. Options include
self-supported | AWS-supported. - See Also:
ResolverType
-
hasImpactedServices
public final boolean hasImpactedServices()
For responses, this returns true if the service returned a value for the ImpactedServices property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
impactedServices
public final List<String> impactedServices()
Response element for GetCase that provides a list of impacted services.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasImpactedServices()method.- Returns:
- Response element for GetCase that provides a list of impacted services.
-
hasCaseAttachments
public final boolean hasCaseAttachments()
For responses, this returns true if the service returned a value for the CaseAttachments property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
-
caseAttachments
public final List<CaseAttachmentAttributes> caseAttachments()
Response element for GetCase that provides a list of current case attachments.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasCaseAttachments()method.- Returns:
- Response element for GetCase that provides a list of current case attachments.
-
closedDate
public final Instant closedDate()
Response element for GetCase that provides the date a specified case was closed.
- Returns:
- Response element for GetCase that provides the date a specified case was closed.
-
toBuilder
public GetCaseResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetCaseResponse.Builder,GetCaseResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetCaseResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetCaseResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-