Class Sequence
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.Sequence
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Sequence.Builder,Sequence>
@Generated("software.amazon.awssdk:codegen") public final class Sequence extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Sequence.Builder,Sequence>
Contains information about the GuardDuty attack sequence finding.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSequence.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Actor>actors()Contains information about the actors involved in the attack sequence.static Sequence.Builderbuilder()Stringdescription()Description of the attack sequence.List<NetworkEndpoint>endpoints()Contains information about the network endpoints that were used in the attack sequence.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasActors()For responses, this returns true if the service returned a value for the Actors property.booleanhasEndpoints()For responses, this returns true if the service returned a value for the Endpoints property.inthashCode()booleanhasResources()For responses, this returns true if the service returned a value for the Resources property.booleanhasSequenceIndicators()For responses, this returns true if the service returned a value for the SequenceIndicators property.booleanhasSignals()For responses, this returns true if the service returned a value for the Signals property.List<ResourceV2>resources()Contains information about the resources involved in the attack sequence.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()List<Indicator>sequenceIndicators()Contains information about the indicators observed in the attack sequence.static Class<? extends Sequence.Builder>serializableBuilderClass()List<Signal>signals()Contains information about the signals involved in the attack sequence.Sequence.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringuid()Unique identifier of the attack sequence.-
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
-
uid
public final String uid()
Unique identifier of the attack sequence.
- Returns:
- Unique identifier of the attack sequence.
-
description
public final String description()
Description of the attack sequence.
- Returns:
- Description of the attack sequence.
-
hasActors
public final boolean hasActors()
For responses, this returns true if the service returned a value for the Actors 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.
-
actors
public final List<Actor> actors()
Contains information about the actors involved in the attack sequence.
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
hasActors()method.- Returns:
- Contains information about the actors involved in the attack sequence.
-
hasResources
public final boolean hasResources()
For responses, this returns true if the service returned a value for the Resources 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.
-
resources
public final List<ResourceV2> resources()
Contains information about the resources involved in the attack sequence.
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
hasResources()method.- Returns:
- Contains information about the resources involved in the attack sequence.
-
hasEndpoints
public final boolean hasEndpoints()
For responses, this returns true if the service returned a value for the Endpoints 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.
-
endpoints
public final List<NetworkEndpoint> endpoints()
Contains information about the network endpoints that were used in the attack sequence.
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
hasEndpoints()method.- Returns:
- Contains information about the network endpoints that were used in the attack sequence.
-
hasSignals
public final boolean hasSignals()
For responses, this returns true if the service returned a value for the Signals 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.
-
signals
public final List<Signal> signals()
Contains information about the signals involved in the attack sequence.
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
hasSignals()method.- Returns:
- Contains information about the signals involved in the attack sequence.
-
hasSequenceIndicators
public final boolean hasSequenceIndicators()
For responses, this returns true if the service returned a value for the SequenceIndicators 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.
-
sequenceIndicators
public final List<Indicator> sequenceIndicators()
Contains information about the indicators observed in the attack sequence.
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
hasSequenceIndicators()method.- Returns:
- Contains information about the indicators observed in the attack sequence.
-
toBuilder
public Sequence.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Sequence.Builder,Sequence>
-
builder
public static Sequence.Builder builder()
-
serializableBuilderClass
public static Class<? extends Sequence.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-