@Generated(value="software.amazon.awssdk:codegen") public final class SubResourceSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SubResourceSummary.Builder,SubResourceSummary>
The attack information for the specified SubResource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
SubResourceSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<SummarizedAttackVector> |
attackVectors()
The list of attack types and associated counters.
|
static SubResourceSummary.Builder |
builder() |
List<SummarizedCounter> |
counters()
The counters that describe the details of the attack.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttackVectors()
For responses, this returns true if the service returned a value for the AttackVectors property.
|
boolean |
hasCounters()
For responses, this returns true if the service returned a value for the Counters property.
|
int |
hashCode() |
String |
id()
The unique identifier (ID) of the
SubResource. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends SubResourceSummary.Builder> |
serializableBuilderClass() |
SubResourceSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SubResourceType |
type()
The
SubResource type. |
String |
typeAsString()
The
SubResource type. |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final SubResourceType type()
The SubResource type.
If the service returns an enum value that is not available in the current SDK version, type will return
SubResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SubResource type.SubResourceTypepublic final String typeAsString()
The SubResource type.
If the service returns an enum value that is not available in the current SDK version, type will return
SubResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
SubResource type.SubResourceTypepublic final String id()
The unique identifier (ID) of the SubResource.
SubResource.public final boolean hasAttackVectors()
isEmpty() 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.public final List<SummarizedAttackVector> attackVectors()
The list of attack types and associated counters.
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 hasAttackVectors() method.
public final boolean hasCounters()
isEmpty() 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.public final List<SummarizedCounter> counters()
The counters that describe the details of the attack.
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 hasCounters() method.
public SubResourceSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SubResourceSummary.Builder,SubResourceSummary>public static SubResourceSummary.Builder builder()
public static Class<? extends SubResourceSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.