@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncSource extends Object implements Serializable, Cloneable, StructuredPojo
Information about the source of the data included in the resource data sync.
Constructor and Description |
---|
ResourceDataSyncSource() |
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncSource |
clone() |
boolean |
equals(Object obj) |
ResourceDataSyncAwsOrganizationsSource |
getAwsOrganizationsSource()
Information about the AwsOrganizationsSource resource data sync source.
|
Boolean |
getIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
List<String> |
getSourceRegions()
The
SyncSource AWS Regions included in the resource data sync. |
String |
getSourceType()
The type of data source for the resource data sync.
|
int |
hashCode() |
Boolean |
isIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
Information about the AwsOrganizationsSource resource data sync source.
|
void |
setIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
void |
setSourceRegions(Collection<String> sourceRegions)
The
SyncSource AWS Regions included in the resource data sync. |
void |
setSourceType(String sourceType)
The type of data source for the resource data sync.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDataSyncSource |
withAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
Information about the AwsOrganizationsSource resource data sync source.
|
ResourceDataSyncSource |
withIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
ResourceDataSyncSource |
withSourceRegions(Collection<String> sourceRegions)
The
SyncSource AWS Regions included in the resource data sync. |
ResourceDataSyncSource |
withSourceRegions(String... sourceRegions)
The
SyncSource AWS Regions included in the resource data sync. |
ResourceDataSyncSource |
withSourceType(String sourceType)
The type of data source for the resource data sync.
|
public void setSourceType(String sourceType)
The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.
sourceType
- The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.public String getSourceType()
The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.
SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.public ResourceDataSyncSource withSourceType(String sourceType)
The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.
sourceType
- The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in AWS Organizations) or
singleAccountMultiRegions
.public void setAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations.
awsOrganizationsSource
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can
synchronize data from AWS Organizations.public ResourceDataSyncAwsOrganizationsSource getAwsOrganizationsSource()
Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations.
public ResourceDataSyncSource withAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can synchronize data from AWS Organizations.
awsOrganizationsSource
- Information about the AwsOrganizationsSource resource data sync source. A sync source of this type can
synchronize data from AWS Organizations.public List<String> getSourceRegions()
The SyncSource
AWS Regions included in the resource data sync.
SyncSource
AWS Regions included in the resource data sync.public void setSourceRegions(Collection<String> sourceRegions)
The SyncSource
AWS Regions included in the resource data sync.
sourceRegions
- The SyncSource
AWS Regions included in the resource data sync.public ResourceDataSyncSource withSourceRegions(String... sourceRegions)
The SyncSource
AWS Regions included in the resource data sync.
NOTE: This method appends the values to the existing list (if any). Use
setSourceRegions(java.util.Collection)
or withSourceRegions(java.util.Collection)
if you want
to override the existing values.
sourceRegions
- The SyncSource
AWS Regions included in the resource data sync.public ResourceDataSyncSource withSourceRegions(Collection<String> sourceRegions)
The SyncSource
AWS Regions included in the resource data sync.
sourceRegions
- The SyncSource
AWS Regions included in the resource data sync.public void setIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
includeFutureRegions
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come
online.public Boolean getIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
public ResourceDataSyncSource withIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
includeFutureRegions
- Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come
online.public Boolean isIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.