@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Scope extends Object implements Serializable, Cloneable, StructuredPojo
The wrapper that contains the AWS accounts and AWS services in scope for the assessment.
Constructor and Description |
---|
Scope() |
Modifier and Type | Method and Description |
---|---|
Scope |
clone() |
boolean |
equals(Object obj) |
List<AWSAccount> |
getAwsAccounts()
The AWS accounts included in the scope of the assessment.
|
List<AWSService> |
getAwsServices()
The AWS services included in the scope of the assessment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsAccounts(Collection<AWSAccount> awsAccounts)
The AWS accounts included in the scope of the assessment.
|
void |
setAwsServices(Collection<AWSService> awsServices)
The AWS services included in the scope of the assessment.
|
String |
toString()
Returns a string representation of this object.
|
Scope |
withAwsAccounts(AWSAccount... awsAccounts)
The AWS accounts included in the scope of the assessment.
|
Scope |
withAwsAccounts(Collection<AWSAccount> awsAccounts)
The AWS accounts included in the scope of the assessment.
|
Scope |
withAwsServices(AWSService... awsServices)
The AWS services included in the scope of the assessment.
|
Scope |
withAwsServices(Collection<AWSService> awsServices)
The AWS services included in the scope of the assessment.
|
public List<AWSAccount> getAwsAccounts()
The AWS accounts included in the scope of the assessment.
public void setAwsAccounts(Collection<AWSAccount> awsAccounts)
The AWS accounts included in the scope of the assessment.
awsAccounts
- The AWS accounts included in the scope of the assessment.public Scope withAwsAccounts(AWSAccount... awsAccounts)
The AWS accounts 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 AWS accounts included in the scope of the assessment.public Scope withAwsAccounts(Collection<AWSAccount> awsAccounts)
The AWS accounts included in the scope of the assessment.
awsAccounts
- The AWS accounts included in the scope of the assessment.public List<AWSService> getAwsServices()
The AWS services included in the scope of the assessment.
public void setAwsServices(Collection<AWSService> awsServices)
The AWS services included in the scope of the assessment.
awsServices
- The AWS services included in the scope of the assessment.public Scope withAwsServices(AWSService... awsServices)
The AWS services included in the scope of the assessment.
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 AWS services included in the scope of the assessment.public Scope withAwsServices(Collection<AWSService> awsServices)
The AWS services included in the scope of the assessment.
awsServices
- The AWS services included in the scope of the assessment.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.