@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProtectedResource extends Object implements Serializable, Cloneable, StructuredPojo
Information about the protected resource that is associated with the created Malware Protection plan. Presently,
S3Bucket
is the only supported protected resource.
Constructor and Description |
---|
CreateProtectedResource() |
Modifier and Type | Method and Description |
---|---|
CreateProtectedResource |
clone() |
boolean |
equals(Object obj) |
CreateS3BucketResource |
getS3Bucket()
Information about the protected S3 bucket resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setS3Bucket(CreateS3BucketResource s3Bucket)
Information about the protected S3 bucket resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateProtectedResource |
withS3Bucket(CreateS3BucketResource s3Bucket)
Information about the protected S3 bucket resource.
|
public void setS3Bucket(CreateS3BucketResource s3Bucket)
Information about the protected S3 bucket resource.
s3Bucket
- Information about the protected S3 bucket resource.public CreateS3BucketResource getS3Bucket()
Information about the protected S3 bucket resource.
public CreateProtectedResource withS3Bucket(CreateS3BucketResource s3Bucket)
Information about the protected S3 bucket resource.
s3Bucket
- Information about the protected S3 bucket resource.public String toString()
toString
in class Object
Object.toString()
public CreateProtectedResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.