@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetServiceRoleForAccountResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
GetServiceRoleForAccountResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetServiceRoleForAccountResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getAssociatedAt()
The time when the service role was associated with the account. 
 | 
String | 
getRoleArn()
The ARN of the role which is associated with the account. 
 | 
int | 
hashCode()  | 
void | 
setAssociatedAt(String associatedAt)
The time when the service role was associated with the account. 
 | 
void | 
setRoleArn(String roleArn)
The ARN of the role which is associated with the account. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
GetServiceRoleForAccountResult | 
withAssociatedAt(String associatedAt)
The time when the service role was associated with the account. 
 | 
GetServiceRoleForAccountResult | 
withRoleArn(String roleArn)
The ARN of the role which is associated with the account. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setAssociatedAt(String associatedAt)
associatedAt - The time when the service role was associated with the account.public String getAssociatedAt()
public GetServiceRoleForAccountResult withAssociatedAt(String associatedAt)
associatedAt - The time when the service role was associated with the account.public void setRoleArn(String roleArn)
roleArn - The ARN of the role which is associated with the account.public String getRoleArn()
public GetServiceRoleForAccountResult withRoleArn(String roleArn)
roleArn - The ARN of the role which is associated with the account.public String toString()
toString in class ObjectObject.toString()public GetServiceRoleForAccountResult clone()