@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnabledServicePrincipal extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains details of a service principal that is enabled to integrate with AWS Organizations.
| Constructor and Description |
|---|
EnabledServicePrincipal() |
| Modifier and Type | Method and Description |
|---|---|
EnabledServicePrincipal |
clone() |
boolean |
equals(Object obj) |
Date |
getDateEnabled()
The date that the service principal was enabled for integration with AWS Organizations.
|
String |
getServicePrincipal()
The name of the service principal.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setDateEnabled(Date dateEnabled)
The date that the service principal was enabled for integration with AWS Organizations.
|
void |
setServicePrincipal(String servicePrincipal)
The name of the service principal.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EnabledServicePrincipal |
withDateEnabled(Date dateEnabled)
The date that the service principal was enabled for integration with AWS Organizations.
|
EnabledServicePrincipal |
withServicePrincipal(String servicePrincipal)
The name of the service principal.
|
public void setServicePrincipal(String servicePrincipal)
The name of the service principal. This is typically in the form of a URL, such as:
servicename.amazonaws.com.
servicePrincipal - The name of the service principal. This is typically in the form of a URL, such as:
servicename.amazonaws.com.public String getServicePrincipal()
The name of the service principal. This is typically in the form of a URL, such as:
servicename.amazonaws.com.
servicename.amazonaws.com.public EnabledServicePrincipal withServicePrincipal(String servicePrincipal)
The name of the service principal. This is typically in the form of a URL, such as:
servicename.amazonaws.com.
servicePrincipal - The name of the service principal. This is typically in the form of a URL, such as:
servicename.amazonaws.com.public void setDateEnabled(Date dateEnabled)
The date that the service principal was enabled for integration with AWS Organizations.
dateEnabled - The date that the service principal was enabled for integration with AWS Organizations.public Date getDateEnabled()
The date that the service principal was enabled for integration with AWS Organizations.
public EnabledServicePrincipal withDateEnabled(Date dateEnabled)
The date that the service principal was enabled for integration with AWS Organizations.
dateEnabled - The date that the service principal was enabled for integration with AWS Organizations.public String toString()
toString in class ObjectObject.toString()public EnabledServicePrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.