@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceScanMetadata extends Object implements Serializable, Cloneable, StructuredPojo
An object that contains details about the metadata for an Amazon ECR resource.
Constructor and Description |
---|
ResourceScanMetadata() |
Modifier and Type | Method and Description |
---|---|
ResourceScanMetadata |
clone() |
boolean |
equals(Object obj) |
Ec2Metadata |
getEc2()
An object that contains metadata details for an Amazon EC2 instance.
|
EcrContainerImageMetadata |
getEcrImage()
An object that contains details about the container metadata for an Amazon ECR image.
|
EcrRepositoryMetadata |
getEcrRepository()
An object that contains details about the repository an Amazon ECR image resides in.
|
LambdaFunctionMetadata |
getLambdaFunction()
An object that contains metadata details for an Amazon Web Services Lambda function.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEc2(Ec2Metadata ec2)
An object that contains metadata details for an Amazon EC2 instance.
|
void |
setEcrImage(EcrContainerImageMetadata ecrImage)
An object that contains details about the container metadata for an Amazon ECR image.
|
void |
setEcrRepository(EcrRepositoryMetadata ecrRepository)
An object that contains details about the repository an Amazon ECR image resides in.
|
void |
setLambdaFunction(LambdaFunctionMetadata lambdaFunction)
An object that contains metadata details for an Amazon Web Services Lambda function.
|
String |
toString()
Returns a string representation of this object.
|
ResourceScanMetadata |
withEc2(Ec2Metadata ec2)
An object that contains metadata details for an Amazon EC2 instance.
|
ResourceScanMetadata |
withEcrImage(EcrContainerImageMetadata ecrImage)
An object that contains details about the container metadata for an Amazon ECR image.
|
ResourceScanMetadata |
withEcrRepository(EcrRepositoryMetadata ecrRepository)
An object that contains details about the repository an Amazon ECR image resides in.
|
ResourceScanMetadata |
withLambdaFunction(LambdaFunctionMetadata lambdaFunction)
An object that contains metadata details for an Amazon Web Services Lambda function.
|
public void setEc2(Ec2Metadata ec2)
An object that contains metadata details for an Amazon EC2 instance.
ec2
- An object that contains metadata details for an Amazon EC2 instance.public Ec2Metadata getEc2()
An object that contains metadata details for an Amazon EC2 instance.
public ResourceScanMetadata withEc2(Ec2Metadata ec2)
An object that contains metadata details for an Amazon EC2 instance.
ec2
- An object that contains metadata details for an Amazon EC2 instance.public void setEcrImage(EcrContainerImageMetadata ecrImage)
An object that contains details about the container metadata for an Amazon ECR image.
ecrImage
- An object that contains details about the container metadata for an Amazon ECR image.public EcrContainerImageMetadata getEcrImage()
An object that contains details about the container metadata for an Amazon ECR image.
public ResourceScanMetadata withEcrImage(EcrContainerImageMetadata ecrImage)
An object that contains details about the container metadata for an Amazon ECR image.
ecrImage
- An object that contains details about the container metadata for an Amazon ECR image.public void setEcrRepository(EcrRepositoryMetadata ecrRepository)
An object that contains details about the repository an Amazon ECR image resides in.
ecrRepository
- An object that contains details about the repository an Amazon ECR image resides in.public EcrRepositoryMetadata getEcrRepository()
An object that contains details about the repository an Amazon ECR image resides in.
public ResourceScanMetadata withEcrRepository(EcrRepositoryMetadata ecrRepository)
An object that contains details about the repository an Amazon ECR image resides in.
ecrRepository
- An object that contains details about the repository an Amazon ECR image resides in.public void setLambdaFunction(LambdaFunctionMetadata lambdaFunction)
An object that contains metadata details for an Amazon Web Services Lambda function.
lambdaFunction
- An object that contains metadata details for an Amazon Web Services Lambda function.public LambdaFunctionMetadata getLambdaFunction()
An object that contains metadata details for an Amazon Web Services Lambda function.
public ResourceScanMetadata withLambdaFunction(LambdaFunctionMetadata lambdaFunction)
An object that contains metadata details for an Amazon Web Services Lambda function.
lambdaFunction
- An object that contains metadata details for an Amazon Web Services Lambda function.public String toString()
toString
in class Object
Object.toString()
public ResourceScanMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.