@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDetails extends Object implements Serializable, Cloneable, StructuredPojo
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 Amazon EC2 instance.
|
AwsIamAccessKeyDetails |
getAwsIamAccessKey()
IAM access key details related to a finding.
|
AwsS3BucketDetails |
getAwsS3Bucket()
The details of an Amazon S3 Bucket.
|
ContainerDetails |
getContainer()
Container details related to a finding.
|
Map<String,String> |
getOther()
The details of a resource that doesn't have a specific subfield for the resource type defined.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an Amazon EC2 instance.
|
void |
setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
IAM access key details related to a finding.
|
void |
setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an Amazon S3 Bucket.
|
void |
setContainer(ContainerDetails container)
Container details related to a finding.
|
void |
setOther(Map<String,String> other)
The details of a resource that doesn't have a specific subfield for the resource type defined.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDetails |
withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an Amazon EC2 instance.
|
ResourceDetails |
withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
IAM access key details related to a finding.
|
ResourceDetails |
withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an Amazon S3 Bucket.
|
ResourceDetails |
withContainer(ContainerDetails container)
Container details related to a finding.
|
ResourceDetails |
withOther(Map<String,String> other)
The details of a resource that doesn't have a specific subfield for the resource type defined.
|
public void setAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an Amazon EC2 instance.
awsEc2Instance - The details of an Amazon EC2 instance.public AwsEc2InstanceDetails getAwsEc2Instance()
The details of an Amazon EC2 instance.
public ResourceDetails withAwsEc2Instance(AwsEc2InstanceDetails awsEc2Instance)
The details of an Amazon EC2 instance.
awsEc2Instance - The details of an Amazon EC2 instance.public void setAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an Amazon S3 Bucket.
awsS3Bucket - The details of an Amazon S3 Bucket.public AwsS3BucketDetails getAwsS3Bucket()
The details of an Amazon S3 Bucket.
public ResourceDetails withAwsS3Bucket(AwsS3BucketDetails awsS3Bucket)
The details of an Amazon S3 Bucket.
awsS3Bucket - The details of an Amazon S3 Bucket.public void setAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
IAM access key details related to a finding.
awsIamAccessKey - IAM access key details related to a finding.public AwsIamAccessKeyDetails getAwsIamAccessKey()
IAM access key details related to a finding.
public ResourceDetails withAwsIamAccessKey(AwsIamAccessKeyDetails awsIamAccessKey)
IAM access key details related to a finding.
awsIamAccessKey - 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 doesn't have a specific subfield for the resource type defined.
public void setOther(Map<String,String> other)
The details of a resource that doesn't have a specific subfield for the resource type defined.
other - The details of a resource that doesn't have a specific subfield for the resource type defined.public ResourceDetails withOther(Map<String,String> other)
The details of a resource that doesn't have a specific subfield for the resource type defined.
other - The details of a resource that doesn't have a specific subfield for the resource type defined.public ResourceDetails addOtherEntry(String key, String value)
public ResourceDetails clearOtherEntries()
public String toString()
toString in class ObjectObject.toString()public ResourceDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2019. All rights reserved.