@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ControlMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata associated with the specified standard or custom control.
Constructor and Description |
---|
ControlMetadata() |
Modifier and Type | Method and Description |
---|---|
ControlMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the specified control.
|
String |
getControlSources()
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
Date |
getCreatedAt()
Specifies when the control was created.
|
String |
getId()
The unique identifier for the specified control.
|
Date |
getLastUpdatedAt()
Specifies when the control was most recently updated.
|
String |
getName()
The name of the specified control.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
|
void |
setControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
void |
setCreatedAt(Date createdAt)
Specifies when the control was created.
|
void |
setId(String id)
The unique identifier for the specified control.
|
void |
setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
|
void |
setName(String name)
The name of the specified control.
|
String |
toString()
Returns a string representation of this object.
|
ControlMetadata |
withArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
|
ControlMetadata |
withControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
|
ControlMetadata |
withCreatedAt(Date createdAt)
Specifies when the control was created.
|
ControlMetadata |
withId(String id)
The unique identifier for the specified control.
|
ControlMetadata |
withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
|
ControlMetadata |
withName(String name)
The name of the specified control.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
arn
- The Amazon Resource Name (ARN) of the specified control.public String getArn()
The Amazon Resource Name (ARN) of the specified control.
public ControlMetadata withArn(String arn)
The Amazon Resource Name (ARN) of the specified control.
arn
- The Amazon Resource Name (ARN) of the specified control.public void setId(String id)
The unique identifier for the specified control.
id
- The unique identifier for the specified control.public String getId()
The unique identifier for the specified control.
public ControlMetadata withId(String id)
The unique identifier for the specified control.
id
- The unique identifier for the specified control.public void setName(String name)
The name of the specified control.
name
- The name of the specified control.public String getName()
The name of the specified control.
public ControlMetadata withName(String name)
The name of the specified control.
name
- The name of the specified control.public void setControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
controlSources
- The data source that determines from where AWS Audit Manager collects evidence for the control.public String getControlSources()
The data source that determines from where AWS Audit Manager collects evidence for the control.
public ControlMetadata withControlSources(String controlSources)
The data source that determines from where AWS Audit Manager collects evidence for the control.
controlSources
- The data source that determines from where AWS Audit Manager collects evidence for the control.public void setCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public Date getCreatedAt()
Specifies when the control was created.
public ControlMetadata withCreatedAt(Date createdAt)
Specifies when the control was created.
createdAt
- Specifies when the control was created.public void setLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies when the control was most recently updated.public Date getLastUpdatedAt()
Specifies when the control was most recently updated.
public ControlMetadata withLastUpdatedAt(Date lastUpdatedAt)
Specifies when the control was most recently updated.
lastUpdatedAt
- Specifies when the control was most recently updated.public String toString()
toString
in class Object
Object.toString()
public ControlMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.