@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourcesAffected extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the resources that a finding applies to.
Constructor and Description |
---|
ResourcesAffected() |
Modifier and Type | Method and Description |
---|---|
ResourcesAffected |
clone() |
boolean |
equals(Object obj) |
S3Bucket |
getS3Bucket()
The details of the S3 bucket that the finding applies to.
|
S3Object |
getS3Object()
The details of the S3 object that the finding applies to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Bucket(S3Bucket s3Bucket)
The details of the S3 bucket that the finding applies to.
|
void |
setS3Object(S3Object s3Object)
The details of the S3 object that the finding applies to.
|
String |
toString()
Returns a string representation of this object.
|
ResourcesAffected |
withS3Bucket(S3Bucket s3Bucket)
The details of the S3 bucket that the finding applies to.
|
ResourcesAffected |
withS3Object(S3Object s3Object)
The details of the S3 object that the finding applies to.
|
public void setS3Bucket(S3Bucket s3Bucket)
The details of the S3 bucket that the finding applies to.
s3Bucket
- The details of the S3 bucket that the finding applies to.public S3Bucket getS3Bucket()
The details of the S3 bucket that the finding applies to.
public ResourcesAffected withS3Bucket(S3Bucket s3Bucket)
The details of the S3 bucket that the finding applies to.
s3Bucket
- The details of the S3 bucket that the finding applies to.public void setS3Object(S3Object s3Object)
The details of the S3 object that the finding applies to.
s3Object
- The details of the S3 object that the finding applies to.public S3Object getS3Object()
The details of the S3 object that the finding applies to.
public ResourcesAffected withS3Object(S3Object s3Object)
The details of the S3 object that the finding applies to.
s3Object
- The details of the S3 object that the finding applies to.public String toString()
toString
in class Object
Object.toString()
public ResourcesAffected clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.