@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Scope extends Object implements Serializable, Cloneable, StructuredPojo
The wrapper that contains the Amazon Web Services accounts that are in scope for the assessment.
You no longer need to specify which Amazon Web Services are in scope when you create or update an assessment. Audit Manager infers the services in scope by examining your assessment controls and their data sources, and then mapping this information to the relevant Amazon Web Services.
If an underlying data source changes for your assessment, we automatically update the services scope as needed to reflect the correct Amazon Web Services. This ensures that your assessment collects accurate and comprehensive evidence about all of the relevant services in your AWS environment.
Constructor and Description |
---|
Scope() |
Modifier and Type | Method and Description |
---|---|
Scope |
clone() |
boolean |
equals(Object obj) |
List<AWSAccount> |
getAwsAccounts()
The Amazon Web Services accounts that are included in the scope of the assessment.
|
List<AWSService> |
getAwsServices()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccounts(Collection<AWSAccount> awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
|
void |
setAwsServices(Collection<AWSService> awsServices)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
Scope |
withAwsAccounts(AWSAccount... awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
|
Scope |
withAwsAccounts(Collection<AWSAccount> awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
|
Scope |
withAwsServices(AWSService... awsServices)
Deprecated.
|
Scope |
withAwsServices(Collection<AWSService> awsServices)
Deprecated.
|
public List<AWSAccount> getAwsAccounts()
The Amazon Web Services accounts that are included in the scope of the assessment.
public void setAwsAccounts(Collection<AWSAccount> awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
awsAccounts
- The Amazon Web Services accounts that are included in the scope of the assessment.public Scope withAwsAccounts(AWSAccount... awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
NOTE: This method appends the values to the existing list (if any). Use
setAwsAccounts(java.util.Collection)
or withAwsAccounts(java.util.Collection)
if you want to
override the existing values.
awsAccounts
- The Amazon Web Services accounts that are included in the scope of the assessment.public Scope withAwsAccounts(Collection<AWSAccount> awsAccounts)
The Amazon Web Services accounts that are included in the scope of the assessment.
awsAccounts
- The Amazon Web Services accounts that are included in the scope of the assessment.@Deprecated public List<AWSService> getAwsServices()
The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web Services,
Audit Manager ignores this input. Instead, the value for awsServices
will show as empty.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web
Services, Audit Manager ignores this input. Instead, the value for awsServices
will show as
empty.
@Deprecated public void setAwsServices(Collection<AWSService> awsServices)
The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web Services,
Audit Manager ignores this input. Instead, the value for awsServices
will show as empty.
awsServices
- The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web
Services, Audit Manager ignores this input. Instead, the value for awsServices
will show as
empty.
@Deprecated public Scope withAwsServices(AWSService... awsServices)
The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web Services,
Audit Manager ignores this input. Instead, the value for awsServices
will show as empty.
NOTE: This method appends the values to the existing list (if any). Use
setAwsServices(java.util.Collection)
or withAwsServices(java.util.Collection)
if you want to
override the existing values.
awsServices
- The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web
Services, Audit Manager ignores this input. Instead, the value for awsServices
will show as
empty.
@Deprecated public Scope withAwsServices(Collection<AWSService> awsServices)
The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web Services,
Audit Manager ignores this input. Instead, the value for awsServices
will show as empty.
awsServices
- The Amazon Web Services services that are included in the scope of the assessment.
This API parameter is no longer supported. If you use this parameter to specify one or more Amazon Web
Services, Audit Manager ignores this input. Instead, the value for awsServices
will show as
empty.
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.