@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceDataSyncSourceWithState extends Object implements Serializable, Cloneable, StructuredPojo
The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
(Your organization doesn't exist)
NoPermissions
(The system can't locate the service-linked role. This role is automatically created when
a user creates a resource data sync in Explorer.)
InvalidOrganizationalUnit
(You specified or selected an invalid unit in the resource data sync
configuration.)
TrustedAccessDisabled
(You disabled Systems Manager access in the organization in AWS Organizations.)
Constructor and Description |
---|
ResourceDataSyncSourceWithState() |
Modifier and Type | Method and Description |
---|---|
ResourceDataSyncSourceWithState |
clone() |
boolean |
equals(Object obj) |
ResourceDataSyncAwsOrganizationsSource |
getAwsOrganizationsSource()
The field name in
SyncSource for the ResourceDataSyncAwsOrganizationsSource type. |
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.
|
String |
getState()
The data type name for including resource data sync state.
|
int |
hashCode() |
Boolean |
isIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
The field name in
SyncSource for the ResourceDataSyncAwsOrganizationsSource type. |
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.
|
void |
setState(String state)
The data type name for including resource data sync state.
|
String |
toString()
Returns a string representation of this object.
|
ResourceDataSyncSourceWithState |
withAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
The field name in
SyncSource for the ResourceDataSyncAwsOrganizationsSource type. |
ResourceDataSyncSourceWithState |
withIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new AWS Regions when those Regions come online.
|
ResourceDataSyncSourceWithState |
withSourceRegions(Collection<String> sourceRegions)
The
SyncSource AWS Regions included in the resource data sync. |
ResourceDataSyncSourceWithState |
withSourceRegions(String... sourceRegions)
The
SyncSource AWS Regions included in the resource data sync. |
ResourceDataSyncSourceWithState |
withSourceType(String sourceType)
The type of data source for the resource data sync.
|
ResourceDataSyncSourceWithState |
withState(String state)
The data type name for including resource data sync state.
|
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 ResourceDataSyncSourceWithState 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)
The field name in SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.
awsOrganizationsSource
- The field name in SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.public ResourceDataSyncAwsOrganizationsSource getAwsOrganizationsSource()
The field name in SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.
SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.public ResourceDataSyncSourceWithState withAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
The field name in SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.
awsOrganizationsSource
- The field name in SyncSource
for the ResourceDataSyncAwsOrganizationsSource
type.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 ResourceDataSyncSourceWithState 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 ResourceDataSyncSourceWithState 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 ResourceDataSyncSourceWithState 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 void setState(String state)
The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically created
when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data sync
configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS Organizations.
state
- The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically
created when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data
sync configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS
Organizations.
public String getState()
The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically created
when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data sync
configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS Organizations.
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically
created when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data
sync configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS
Organizations.
public ResourceDataSyncSourceWithState withState(String state)
The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically created
when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data sync
configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS Organizations.
state
- The data type name for including resource data sync state. There are four sync states:
OrganizationNotExists
: Your organization doesn't exist.
NoPermissions
: The system can't locate the service-linked role. This role is automatically
created when a user creates a resource data sync in Explorer.
InvalidOrganizationalUnit
: You specified or selected an invalid unit in the resource data
sync configuration.
TrustedAccessDisabled
: You disabled Systems Manager access in the organization in AWS
Organizations.
public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncSourceWithState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.