@Generated(value="software.amazon.awssdk:codegen") public final class SubResourceSummary extends Object implements StructuredPojo, 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier (ID) of the
SubResource . |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends SubResourceSummary.Builder> |
serializableBuilderClass() |
SubResourceSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
SubResourceType |
type()
The
SubResource type. |
String |
typeAsString()
The
SubResource type. |
copy
public 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.SubResourceType
public 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.SubResourceType
public String id()
The unique identifier (ID) of the SubResource
.
SubResource
.public 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.
public 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.
public SubResourceSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SubResourceSummary.Builder,SubResourceSummary>
public static SubResourceSummary.Builder builder()
public static Class<? extends SubResourceSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.