@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DelegatedService extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the Amazon Web Services service for which the account is a delegated administrator.
| Constructor and Description |
|---|
DelegatedService() |
| Modifier and Type | Method and Description |
|---|---|
DelegatedService |
clone() |
boolean |
equals(Object obj) |
Date |
getDelegationEnabledDate()
The date that the account became a delegated administrator for this service.
|
String |
getServicePrincipal()
The name of an Amazon Web Services service that can request an operation for the specified service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setDelegationEnabledDate(Date delegationEnabledDate)
The date that the account became a delegated administrator for this service.
|
void |
setServicePrincipal(String servicePrincipal)
The name of an Amazon Web Services service that can request an operation for the specified service.
|
String |
toString()
Returns a string representation of this object.
|
DelegatedService |
withDelegationEnabledDate(Date delegationEnabledDate)
The date that the account became a delegated administrator for this service.
|
DelegatedService |
withServicePrincipal(String servicePrincipal)
The name of an Amazon Web Services service that can request an operation for the specified service.
|
public void setServicePrincipal(String servicePrincipal)
The name of an Amazon Web Services service that can request an operation for the specified service. This is
typically in the form of a URL, such as: servicename.amazonaws.com.
servicePrincipal - The name of an Amazon Web Services service that can request an operation for the specified service. This
is typically in the form of a URL, such as: servicename.amazonaws.com.rproxy.govskope.ca.public String getServicePrincipal()
The name of an Amazon Web Services service that can request an operation for the specified service. This is
typically in the form of a URL, such as: servicename.amazonaws.com.
servicename.amazonaws.com.rproxy.govskope.ca.public DelegatedService withServicePrincipal(String servicePrincipal)
The name of an Amazon Web Services service that can request an operation for the specified service. This is
typically in the form of a URL, such as: servicename.amazonaws.com.
servicePrincipal - The name of an Amazon Web Services service that can request an operation for the specified service. This
is typically in the form of a URL, such as: servicename.amazonaws.com.rproxy.govskope.ca.public void setDelegationEnabledDate(Date delegationEnabledDate)
The date that the account became a delegated administrator for this service.
delegationEnabledDate - The date that the account became a delegated administrator for this service.public Date getDelegationEnabledDate()
The date that the account became a delegated administrator for this service.
public DelegatedService withDelegationEnabledDate(Date delegationEnabledDate)
The date that the account became a delegated administrator for this service.
delegationEnabledDate - The date that the account became a delegated administrator for this service.public String toString()
toString in class ObjectObject.toString()public DelegatedService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.