@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DelegationMetadata extends Object implements Serializable, Cloneable, StructuredPojo
The metadata that's associated with the delegation.
Constructor and Description |
---|
DelegationMetadata() |
Modifier and Type | Method and Description |
---|---|
DelegationMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getAssessmentId()
The unique identifier for the assessment.
|
String |
getAssessmentName()
The name of the associated assessment.
|
String |
getControlSetName()
Specifies the name of the control set that was delegated for review.
|
Date |
getCreationTime()
Specifies when the delegation was created.
|
String |
getId()
The unique identifier for the delegation.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
|
String |
getStatus()
The current status of the delegation.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssessmentId(String assessmentId)
The unique identifier for the assessment.
|
void |
setAssessmentName(String assessmentName)
The name of the associated assessment.
|
void |
setControlSetName(String controlSetName)
Specifies the name of the control set that was delegated for review.
|
void |
setCreationTime(Date creationTime)
Specifies when the delegation was created.
|
void |
setId(String id)
The unique identifier for the delegation.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
void |
setStatus(String status)
The current status of the delegation.
|
String |
toString()
Returns a string representation of this object.
|
DelegationMetadata |
withAssessmentId(String assessmentId)
The unique identifier for the assessment.
|
DelegationMetadata |
withAssessmentName(String assessmentName)
The name of the associated assessment.
|
DelegationMetadata |
withControlSetName(String controlSetName)
Specifies the name of the control set that was delegated for review.
|
DelegationMetadata |
withCreationTime(Date creationTime)
Specifies when the delegation was created.
|
DelegationMetadata |
withId(String id)
The unique identifier for the delegation.
|
DelegationMetadata |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
|
DelegationMetadata |
withStatus(DelegationStatus status)
The current status of the delegation.
|
DelegationMetadata |
withStatus(String status)
The current status of the delegation.
|
public void setId(String id)
The unique identifier for the delegation.
id
- The unique identifier for the delegation.public String getId()
The unique identifier for the delegation.
public DelegationMetadata withId(String id)
The unique identifier for the delegation.
id
- The unique identifier for the delegation.public void setAssessmentName(String assessmentName)
The name of the associated assessment.
assessmentName
- The name of the associated assessment.public String getAssessmentName()
The name of the associated assessment.
public DelegationMetadata withAssessmentName(String assessmentName)
The name of the associated assessment.
assessmentName
- The name of the associated assessment.public void setAssessmentId(String assessmentId)
The unique identifier for the assessment.
assessmentId
- The unique identifier for the assessment.public String getAssessmentId()
The unique identifier for the assessment.
public DelegationMetadata withAssessmentId(String assessmentId)
The unique identifier for the assessment.
assessmentId
- The unique identifier for the assessment.public void setStatus(String status)
The current status of the delegation.
status
- The current status of the delegation.DelegationStatus
public String getStatus()
The current status of the delegation.
DelegationStatus
public DelegationMetadata withStatus(String status)
The current status of the delegation.
status
- The current status of the delegation.DelegationStatus
public DelegationMetadata withStatus(DelegationStatus status)
The current status of the delegation.
status
- The current status of the delegation.DelegationStatus
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role.
public DelegationMetadata withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role.
roleArn
- The Amazon Resource Name (ARN) of the IAM role.public void setCreationTime(Date creationTime)
Specifies when the delegation was created.
creationTime
- Specifies when the delegation was created.public Date getCreationTime()
Specifies when the delegation was created.
public DelegationMetadata withCreationTime(Date creationTime)
Specifies when the delegation was created.
creationTime
- Specifies when the delegation was created.public void setControlSetName(String controlSetName)
Specifies the name of the control set that was delegated for review.
controlSetName
- Specifies the name of the control set that was delegated for review.public String getControlSetName()
Specifies the name of the control set that was delegated for review.
public DelegationMetadata withControlSetName(String controlSetName)
Specifies the name of the control set that was delegated for review.
controlSetName
- Specifies the name of the control set that was delegated for review.public String toString()
toString
in class Object
Object.toString()
public DelegationMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.