@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 Amazon Web Services Systems Manager 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 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 |
getEnableAllOpsDataSources()
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services
accounts in your organization (or in the selected organization units).
|
Boolean |
getIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions
come online.
|
List<String> |
getSourceRegions()
The
SyncSource Amazon Web Services 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 |
isEnableAllOpsDataSources()
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services
accounts in your organization (or in the selected organization units).
|
Boolean |
isIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions
come online.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsOrganizationsSource(ResourceDataSyncAwsOrganizationsSource awsOrganizationsSource)
The field name in
SyncSource for the ResourceDataSyncAwsOrganizationsSource type. |
void |
setEnableAllOpsDataSources(Boolean enableAllOpsDataSources)
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services
accounts in your organization (or in the selected organization units).
|
void |
setIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions
come online.
|
void |
setSourceRegions(Collection<String> sourceRegions)
The
SyncSource Amazon Web Services 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 |
withEnableAllOpsDataSources(Boolean enableAllOpsDataSources)
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services
accounts in your organization (or in the selected organization units).
|
ResourceDataSyncSourceWithState |
withIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions
come online.
|
ResourceDataSyncSourceWithState |
withSourceRegions(Collection<String> sourceRegions)
The
SyncSource Amazon Web Services Regions included in the resource data sync. |
ResourceDataSyncSourceWithState |
withSourceRegions(String... sourceRegions)
The
SyncSource Amazon Web Services 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 Organizations) or
singleAccountMultiRegions
.
sourceType
- The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in 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 Organizations) or
singleAccountMultiRegions
.
SourceType
is either
AwsOrganizations
(if an organization is present in 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 Organizations) or
singleAccountMultiRegions
.
sourceType
- The type of data source for the resource data sync. SourceType
is either
AwsOrganizations
(if an organization is present in 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
Amazon Web Services Regions included in the resource data sync.
SyncSource
Amazon Web Services Regions included in the resource data sync.public void setSourceRegions(Collection<String> sourceRegions)
The SyncSource
Amazon Web Services Regions included in the resource data sync.
sourceRegions
- The SyncSource
Amazon Web Services Regions included in the resource data sync.public ResourceDataSyncSourceWithState withSourceRegions(String... sourceRegions)
The SyncSource
Amazon Web Services 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
Amazon Web Services Regions included in the resource data sync.public ResourceDataSyncSourceWithState withSourceRegions(Collection<String> sourceRegions)
The SyncSource
Amazon Web Services Regions included in the resource data sync.
sourceRegions
- The SyncSource
Amazon Web Services Regions included in the resource data sync.public void setIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
includeFutureRegions
- Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those
Regions come online.public Boolean getIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
public ResourceDataSyncSourceWithState withIncludeFutureRegions(Boolean includeFutureRegions)
Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those Regions come online.
includeFutureRegions
- Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those
Regions come online.public Boolean isIncludeFutureRegions()
Whether to automatically synchronize and aggregate data from new Amazon Web Services 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 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
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 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
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 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
Organizations.
public void setEnableAllOpsDataSources(Boolean enableAllOpsDataSources)
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager User Guide.
enableAllOpsDataSources
- When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web
Services accounts in your organization (or in the selected organization units). For more information, see
About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager
User Guide.public Boolean getEnableAllOpsDataSources()
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager User Guide.
public ResourceDataSyncSourceWithState withEnableAllOpsDataSources(Boolean enableAllOpsDataSources)
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager User Guide.
enableAllOpsDataSources
- When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager
automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web
Services accounts in your organization (or in the selected organization units). For more information, see
About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager
User Guide.public Boolean isEnableAllOpsDataSources()
When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the Amazon Web Services Systems Manager User Guide.
public String toString()
toString
in class Object
Object.toString()
public ResourceDataSyncSourceWithState clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2021. All rights reserved.