@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DataLakeAutoEnableNewAccountConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Automatically enable new organization accounts as member accounts from an Amazon Security Lake administrator account.
Constructor and Description |
---|
DataLakeAutoEnableNewAccountConfiguration() |
Modifier and Type | Method and Description |
---|---|
DataLakeAutoEnableNewAccountConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getRegion()
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
List<AwsLogSourceResource> |
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<AwsLogSourceResource> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
String |
toString()
Returns a string representation of this object.
|
DataLakeAutoEnableNewAccountConfiguration |
withRegion(String region)
The Amazon Web Services Regions where Security Lake is automatically enabled.
|
DataLakeAutoEnableNewAccountConfiguration |
withSources(AwsLogSourceResource... sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
DataLakeAutoEnableNewAccountConfiguration |
withSources(Collection<AwsLogSourceResource> sources)
The Amazon Web Services sources that are automatically enabled in Security Lake.
|
public DataLakeAutoEnableNewAccountConfiguration()
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.public String getRegion()
The Amazon Web Services Regions where Security Lake is automatically enabled.
public DataLakeAutoEnableNewAccountConfiguration 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.public List<AwsLogSourceResource> getSources()
The Amazon Web Services sources that are automatically enabled in Security Lake.
public void setSources(Collection<AwsLogSourceResource> 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.public DataLakeAutoEnableNewAccountConfiguration withSources(AwsLogSourceResource... 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.public DataLakeAutoEnableNewAccountConfiguration withSources(Collection<AwsLogSourceResource> 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.public String toString()
toString
in class Object
Object.toString()
public DataLakeAutoEnableNewAccountConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.