@Generated(value="software.amazon.awssdk:codegen") public final class Scope extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Scope.Builder,Scope>
The wrapper that contains the AWS accounts and AWS services in scope for the assessment.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Scope.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<AWSAccount> |
awsAccounts()
The AWS accounts included in the scope of the assessment.
|
List<AWSService> |
awsServices()
The AWS services included in the scope of the assessment.
|
static Scope.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAwsAccounts()
Returns true if the AwsAccounts 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 |
hasAwsServices()
Returns true if the AwsServices 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Scope.Builder> |
serializableBuilderClass() |
Scope.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final boolean hasAwsAccounts()
public final List<AWSAccount> awsAccounts()
The AWS accounts included in the scope of the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAwsAccounts() to see if a value was sent in this field.
public final boolean hasAwsServices()
public final List<AWSService> awsServices()
The AWS services included in the scope of the assessment.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAwsServices() to see if a value was sent in this field.
public Scope.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Scope.Builder,Scope>public static Scope.Builder builder()
public static Class<? extends Scope.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.