@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
Provides additional details about the resource.
Constructor and Description |
---|
ResourceDetails() |
Modifier and Type | Method and Description |
---|---|
ResourceDetails |
addOtherEntry(String key,
String value) |
ResourceDetails |
clearOtherEntries()
Removes all the entries added into Other.
|
ResourceDetails |
clone() |
boolean |
equals(Object obj) |
AwsEc2InstanceDetails |
getAwsEc2Instance()
The details of an AWS EC2 instance.
|
AwsIamAccessKeyDetails |
getAwsIamAccessKey()
AWS IAM access key details related to a finding.
|
AwsS3BucketDetails |
getAwsS3Bucket()
The details of an AWS S3 Bucket.
|
ContainerDetails |
getContainer()
Container details related to a finding.
|
Map<String,String> |
getOther()
The details of a resource that does not have a specific sub-field for the resource type defined.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an AWS EC2 instance.
|
void |
setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
AWS IAM access key details related to a finding.
|
void |
setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an AWS S3 Bucket.
|
void |
setContainer(ContainerDetails container)
Container details related to a finding.
|
void |
setOther(Map<String,String> other)
The details of a resource that does not have a specific sub-field for the resource type defined.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetails |
withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an AWS EC2 instance.
|
ResourceDetails |
withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
AWS IAM access key details related to a finding.
|
ResourceDetails |
withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an AWS S3 Bucket.
|
ResourceDetails |
withContainer(ContainerDetails container)
Container details related to a finding.
|
ResourceDetails |
withOther(Map<String,String> other)
The details of a resource that does not have a specific sub-field for the resource type defined.
|
public void setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an AWS EC2 instance.
awsEc2Instance
- The details of an AWS EC2 instance.public AwsEc2InstanceDetails getAwsEc2Instance()
The details of an AWS EC2 instance.
public ResourceDetails withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an AWS EC2 instance.
awsEc2Instance
- The details of an AWS EC2 instance.public void setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an AWS S3 Bucket.
awsS3Bucket
- The details of an AWS S3 Bucket.public AwsS3BucketDetails getAwsS3Bucket()
The details of an AWS S3 Bucket.
public ResourceDetails withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an AWS S3 Bucket.
awsS3Bucket
- The details of an AWS S3 Bucket.public void setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
AWS IAM access key details related to a finding.
awsIamAccessKey
- AWS IAM access key details related to a finding.public AwsIamAccessKeyDetails getAwsIamAccessKey()
AWS IAM access key details related to a finding.
public ResourceDetails withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
AWS IAM access key details related to a finding.
awsIamAccessKey
- AWS IAM access key details related to a finding.public void setContainer(ContainerDetails container)
Container details related to a finding.
container
- Container details related to a finding.public ContainerDetails getContainer()
Container details related to a finding.
public ResourceDetails withContainer(ContainerDetails container)
Container details related to a finding.
container
- Container details related to a finding.public Map<String,String> getOther()
The details of a resource that does not have a specific sub-field for the resource type defined.
public void setOther(Map<String,String> other)
The details of a resource that does not have a specific sub-field for the resource type defined.
other
- The details of a resource that does not have a specific sub-field for the resource type defined.public ResourceDetails withOther(Map<String,String> other)
The details of a resource that does not have a specific sub-field for the resource type defined.
other
- The details of a resource that does not have a specific sub-field for the resource type defined.public ResourceDetails addOtherEntry(String key, String value)
public ResourceDetails clearOtherEntries()
public String toString()
toString
in class Object
Object.toString()
public ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.