@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)
Marshalls this structured data using the given
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.Region
public String getRegion()
The Amazon Web Services Regions where Security Lake is automatically enabled.
Region
public 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.Region
public 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.Region
public List<String> getSources()
The Amazon Web Services sources that are automatically enabled in Security Lake.
AwsLogSourceType
public 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.AwsLogSourceType
public 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.AwsLogSourceType
public 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.AwsLogSourceType
public 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.AwsLogSourceType
public String toString()
toString
in class Object
Object.toString()
public AutoEnableNewRegionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.