@Generated(value="software.amazon.awssdk:codegen") public final class Exclusion extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Exclusion.Builder,Exclusion>
Contains information about what was excluded from an assessment run.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Exclusion.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN that specifies the exclusion.
|
List<Attribute> |
attributes()
The system-defined attributes for the exclusion.
|
static Exclusion.Builder |
builder() |
String |
description()
The description of the exclusion.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAttributes()
For responses, this returns true if the service returned a value for the Attributes property.
|
int |
hashCode() |
boolean |
hasScopes()
For responses, this returns true if the service returned a value for the Scopes property.
|
String |
recommendation()
The recommendation for the exclusion.
|
List<Scope> |
scopes()
The AWS resources for which the exclusion pertains.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Exclusion.Builder> |
serializableBuilderClass() |
String |
title()
The name of the exclusion.
|
Exclusion.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN that specifies the exclusion.
public final String title()
The name of the exclusion.
public final String description()
The description of the exclusion.
public final String recommendation()
The recommendation for the exclusion.
public final boolean hasScopes()
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<Scope> scopes()
The AWS resources for which the exclusion pertains.
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 hasScopes() method.
public final boolean hasAttributes()
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<Attribute> attributes()
The system-defined attributes for the exclusion.
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 hasAttributes() method.
public Exclusion.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Exclusion.Builder,Exclusion>public static Exclusion.Builder builder()
public static Class<? extends Exclusion.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.