@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncAwsOrganizationsSource extends Object implements Serializable, Cloneable, StructuredPojo
Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations or, if an AWS Organization is not present, from multiple AWS Regions.
| Constructor and Description |
|---|
ResourceDataSyncAwsOrganizationsSource() |
| Modifier and Type | Method and Description |
|---|---|
ResourceDataSyncAwsOrganizationsSource |
clone() |
boolean |
equals(Object obj) |
List<ResourceDataSyncOrganizationalUnit> |
getOrganizationalUnits()
The AWS Organizations organization units included in the sync.
|
String |
getOrganizationSourceType()
If an AWS Organization is present, this is either
OrganizationalUnits or
EntireOrganization. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The AWS Organizations organization units included in the sync.
|
void |
setOrganizationSourceType(String organizationSourceType)
If an AWS Organization is present, this is either
OrganizationalUnits or
EntireOrganization. |
String |
toString()
Returns a string representation of this object.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The AWS Organizations organization units included in the sync.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits)
The AWS Organizations organization units included in the sync.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationSourceType(String organizationSourceType)
If an AWS Organization is present, this is either
OrganizationalUnits or
EntireOrganization. |
public ResourceDataSyncAwsOrganizationsSource()
public void setOrganizationSourceType(String organizationSourceType)
If an AWS Organization is present, this is either OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set of
organization units. For EntireOrganization, the data is aggregated from the entire AWS Organization.
organizationSourceType - If an AWS Organization is present, this is either OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set
of organization units. For EntireOrganization, the data is aggregated from the entire AWS
Organization.public String getOrganizationSourceType()
If an AWS Organization is present, this is either OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set of
organization units. For EntireOrganization, the data is aggregated from the entire AWS Organization.
OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set
of organization units. For EntireOrganization, the data is aggregated from the entire AWS
Organization.public ResourceDataSyncAwsOrganizationsSource withOrganizationSourceType(String organizationSourceType)
If an AWS Organization is present, this is either OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set of
organization units. For EntireOrganization, the data is aggregated from the entire AWS Organization.
organizationSourceType - If an AWS Organization is present, this is either OrganizationalUnits or
EntireOrganization. For OrganizationalUnits, the data is aggregated from a set
of organization units. For EntireOrganization, the data is aggregated from the entire AWS
Organization.public List<ResourceDataSyncOrganizationalUnit> getOrganizationalUnits()
The AWS Organizations organization units included in the sync.
public void setOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The AWS Organizations organization units included in the sync.
organizationalUnits - The AWS Organizations organization units included in the sync.public ResourceDataSyncAwsOrganizationsSource withOrganizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits)
The AWS Organizations organization units included in the sync.
NOTE: This method appends the values to the existing list (if any). Use
setOrganizationalUnits(java.util.Collection) or withOrganizationalUnits(java.util.Collection)
if you want to override the existing values.
organizationalUnits - The AWS Organizations organization units included in the sync.public ResourceDataSyncAwsOrganizationsSource withOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The AWS Organizations organization units included in the sync.
organizationalUnits - The AWS Organizations organization units included in the sync.public String toString()
toString in class ObjectObject.toString()public ResourceDataSyncAwsOrganizationsSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.