@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
.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
.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
.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 Object
Object.toString()
public DelegatedService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.