Class CreateCaseRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.securityir.model.SecurityIrRequest
-
- software.amazon.awssdk.services.securityir.model.CreateCaseRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateCaseRequest extends SecurityIrRequest implements ToCopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateCaseRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateCaseRequest.Builderbuilder()StringclientToken()Required element used in combination with CreateCase.Stringdescription()Required element used in combination with CreateCase to provide a description for the new case.EngagementTypeengagementType()Required element used in combination with CreateCase to provide an engagement type for the new cases.StringengagementTypeAsString()Required element used in combination with CreateCase to provide an engagement type for the new cases.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)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.booleanhasTags()For responses, this returns true if the service returned a value for the Tags 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()Required element used in combination with CreateCase to provide a list of impacted accounts.List<ImpactedAwsRegion>impactedAwsRegions()An optional element used in combination with CreateCase to provide a list of impacted regions.List<String>impactedServices()An optional element used in combination with CreateCase to provide a list of services impacted.InstantreportedIncidentStartDate()Required element used in combination with CreateCase to provide an initial start date for the unauthorized activity.ResolverTyperesolverType()Required element used in combination with CreateCase to identify the resolver type.StringresolverTypeAsString()Required element used in combination with CreateCase to identify the resolver type.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateCaseRequest.Builder>serializableBuilderClass()Map<String,String>tags()An optional element used in combination with CreateCase to add customer specified tags to a case.List<ThreatActorIp>threatActorIpAddresses()An optional element used in combination with CreateCase to provide a list of suspicious internet protocol addresses associated with unauthorized activity.Stringtitle()Required element used in combination with CreateCase to provide a title for the new case.CreateCaseRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.List<Watcher>watchers()Required element used in combination with CreateCase to provide a list of entities to receive notifications for case updates.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
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
-
clientToken
public final String clientToken()
Required element used in combination with CreateCase.
- Returns:
- Required element used in combination with CreateCase.
-
resolverType
public final ResolverType resolverType()
Required element used in combination with CreateCase to identify the resolver type. Available resolvers 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:
- Required element used in combination with CreateCase to identify the resolver type. Available resolvers include self-supported | aws-supported.
- See Also:
ResolverType
-
resolverTypeAsString
public final String resolverTypeAsString()
Required element used in combination with CreateCase to identify the resolver type. Available resolvers 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:
- Required element used in combination with CreateCase to identify the resolver type. Available resolvers include self-supported | aws-supported.
- See Also:
ResolverType
-
title
public final String title()
Required element used in combination with CreateCase to provide a title for the new case.
- Returns:
- Required element used in combination with CreateCase to provide a title for the new case.
-
description
public final String description()
Required element used in combination with CreateCase to provide a description for the new case.
- Returns:
- Required element used in combination with CreateCase to provide a description for the new case.
-
engagementType
public final EngagementType engagementType()
Required element used in combination with CreateCase to provide an engagement type for the new cases. Available engagement types include Security Incident | Investigation
If 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:
- Required element used in combination with CreateCase to provide an engagement type for the new cases. Available engagement types include Security Incident | Investigation
- See Also:
EngagementType
-
engagementTypeAsString
public final String engagementTypeAsString()
Required element used in combination with CreateCase to provide an engagement type for the new cases. Available engagement types include Security Incident | Investigation
If 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:
- Required element used in combination with CreateCase to provide an engagement type for the new cases. Available engagement types include Security Incident | Investigation
- See Also:
EngagementType
-
reportedIncidentStartDate
public final Instant reportedIncidentStartDate()
Required element used in combination with CreateCase to provide an initial start date for the unauthorized activity.
- Returns:
- Required element used in combination with CreateCase to provide an initial start date for the unauthorized activity.
-
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()
Required element used in combination with CreateCase to provide 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:
- Required element used in combination with CreateCase to provide 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()
Required element used in combination with CreateCase to provide a list of entities to receive notifications for case updates.
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:
- Required element used in combination with CreateCase to provide a list of entities to receive notifications for case updates.
-
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()
An optional element used in combination with CreateCase to provide a list of suspicious internet protocol 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:
- An optional element used in combination with CreateCase to provide a list of suspicious internet protocol addresses associated with unauthorized activity.
-
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()
An optional element used in combination with CreateCase to provide a list of services impacted.
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:
- An optional element used in combination with CreateCase to provide a list of services impacted.
-
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()
An optional element used in combination with CreateCase to provide a list of 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:
- An optional element used in combination with CreateCase to provide a list of impacted regions.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags 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.
-
tags
public final Map<String,String> tags()
An optional element used in combination with CreateCase to add customer specified tags to a 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
hasTags()method.- Returns:
- An optional element used in combination with CreateCase to add customer specified tags to a case.
-
toBuilder
public CreateCaseRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateCaseRequest.Builder,CreateCaseRequest>- Specified by:
toBuilderin classSecurityIrRequest
-
builder
public static CreateCaseRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateCaseRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
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 classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-