@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoEnableNewRegionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Automatically enable new organization accounts as member accounts from an Amazon Security Lake administrator account.
| Constructor and Description |
|---|
AutoEnableNewRegionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AutoEnableNewRegionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRegion()
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
List<String> |
getSources()
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setRegion(String region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
void |
setSources(Collection<String> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
String |
toString()
Returns a string representation of this object.
|
AutoEnableNewRegionConfiguration |
withRegion(Region region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
AutoEnableNewRegionConfiguration |
withRegion(String region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
AutoEnableNewRegionConfiguration |
withSources(AwsLogSourceType... sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
AutoEnableNewRegionConfiguration |
withSources(Collection<String> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
AutoEnableNewRegionConfiguration |
withSources(String... sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
public void setRegion(String region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
region - The Amazon Web Services Regions where Security Lake is automatically enabled.Regionpublic String getRegion()
The Amazon Web Services Regions where Security Lake is automatically enabled.
Regionpublic AutoEnableNewRegionConfiguration withRegion(String region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
region - The Amazon Web Services Regions where Security Lake is automatically enabled.Regionpublic AutoEnableNewRegionConfiguration withRegion(Region region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
region - The Amazon Web Services Regions where Security Lake is automatically enabled.Regionpublic List<String> getSources()
The Amazon Web Services sources that are automatically enabled in Security Lake.
AwsLogSourceTypepublic void setSources(Collection<String> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
sources - The Amazon Web Services sources that are automatically enabled in Security Lake.AwsLogSourceTypepublic AutoEnableNewRegionConfiguration withSources(String... sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
NOTE: This method appends the values to the existing list (if any). Use
setSources(java.util.Collection) or withSources(java.util.Collection) if you want to override
the existing values.
sources - The Amazon Web Services sources that are automatically enabled in Security Lake.AwsLogSourceTypepublic AutoEnableNewRegionConfiguration withSources(Collection<String> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
sources - The Amazon Web Services sources that are automatically enabled in Security Lake.AwsLogSourceTypepublic AutoEnableNewRegionConfiguration withSources(AwsLogSourceType... sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
sources - The Amazon Web Services sources that are automatically enabled in Security Lake.AwsLogSourceTypepublic String toString()
toString in class ObjectObject.toString()public AutoEnableNewRegionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2023. All rights reserved.