@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()
Returns true if the AttackVectors property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasCounters()
Returns true if the Counters property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
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()
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.
You can use hasAttackVectors() to see if a value was sent in this field.
public final boolean hasCounters()
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.
You can use hasCounters() to see if a value was sent in this field.
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 © 2021. All rights reserved.