@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 represents an AWS service 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)
Marshalls this structured data using the given
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.
|
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 Object
Object.toString()
public EnabledServicePrincipal clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.