@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Resource extends Object implements Serializable, Cloneable, StructuredPojo
A system asset that is evaluated in an AWS Audit Manager assessment.
Constructor and Description |
---|
Resource() |
Modifier and Type | Method and Description |
---|---|
Resource |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) for the specified resource.
|
String |
getValue()
The value of the specified resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) for the specified resource.
|
void |
setValue(String value)
The value of the specified resource.
|
String |
toString()
Returns a string representation of this object.
|
Resource |
withArn(String arn)
The Amazon Resource Name (ARN) for the specified resource.
|
Resource |
withValue(String value)
The value of the specified resource.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) for the specified resource.
arn
- The Amazon Resource Name (ARN) for the specified resource.public String getArn()
The Amazon Resource Name (ARN) for the specified resource.
public Resource withArn(String arn)
The Amazon Resource Name (ARN) for the specified resource.
arn
- The Amazon Resource Name (ARN) for the specified resource.public void setValue(String value)
The value of the specified resource.
value
- The value of the specified resource.public String getValue()
The value of the specified resource.
public Resource withValue(String value)
The value of the specified resource.
value
- The value of the specified resource.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.