@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 Organizations or, if an Amazon Web Services organization isn't present, from multiple Amazon
Web Services Regions.
Constructor and Description |
---|
ResourceDataSyncAwsOrganizationsSource() |
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncAwsOrganizationsSource |
clone() |
boolean |
equals(Object obj) |
List<ResourceDataSyncOrganizationalUnit> |
getOrganizationalUnits()
The Organizations organization units included in the sync.
|
String |
getOrganizationSourceType()
If an Amazon Web Services 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 Organizations organization units included in the sync.
|
void |
setOrganizationSourceType(String organizationSourceType)
If an Amazon Web Services organization is present, this is either
OrganizationalUnits or
EntireOrganization . |
String |
toString()
Returns a string representation of this object.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The Organizations organization units included in the sync.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits)
The Organizations organization units included in the sync.
|
ResourceDataSyncAwsOrganizationsSource |
withOrganizationSourceType(String organizationSourceType)
If an Amazon Web Services organization is present, this is either
OrganizationalUnits or
EntireOrganization . |
public ResourceDataSyncAwsOrganizationsSource()
public void setOrganizationSourceType(String organizationSourceType)
If an Amazon Web Services 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 Amazon Web
Services organization.
organizationSourceType
- If an Amazon Web Services 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 Amazon
Web Services organization.public String getOrganizationSourceType()
If an Amazon Web Services 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 Amazon Web
Services 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 Amazon
Web Services organization.public ResourceDataSyncAwsOrganizationsSource withOrganizationSourceType(String organizationSourceType)
If an Amazon Web Services 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 Amazon Web
Services organization.
organizationSourceType
- If an Amazon Web Services 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 Amazon
Web Services organization.public List<ResourceDataSyncOrganizationalUnit> getOrganizationalUnits()
The Organizations organization units included in the sync.
public void setOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The Organizations organization units included in the sync.
organizationalUnits
- The Organizations organization units included in the sync.public ResourceDataSyncAwsOrganizationsSource withOrganizationalUnits(ResourceDataSyncOrganizationalUnit... organizationalUnits)
The 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 Organizations organization units included in the sync.public ResourceDataSyncAwsOrganizationsSource withOrganizationalUnits(Collection<ResourceDataSyncOrganizationalUnit> organizationalUnits)
The Organizations organization units included in the sync.
organizationalUnits
- The Organizations organization units included in the sync.public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncAwsOrganizationsSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.