@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLogSourceConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The Security Lake logs source configuration file describes the information needed to generate Security Lake logs.
| Constructor and Description |
|---|
AwsLogSourceConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
AwsLogSourceConfiguration |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAccounts()
Specify the Amazon Web Services account information where you want to enable Security Lake.
|
List<String> |
getRegions()
Specify the Regions where you want to enable Security Lake.
|
String |
getSourceName()
The name for a Amazon Web Services source.
|
String |
getSourceVersion()
The version for a Amazon Web Services source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAccounts(Collection<String> accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
|
void |
setRegions(Collection<String> regions)
Specify the Regions where you want to enable Security Lake.
|
void |
setSourceName(String sourceName)
The name for a Amazon Web Services source.
|
void |
setSourceVersion(String sourceVersion)
The version for a Amazon Web Services source.
|
String |
toString()
Returns a string representation of this object.
|
AwsLogSourceConfiguration |
withAccounts(Collection<String> accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
|
AwsLogSourceConfiguration |
withAccounts(String... accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
|
AwsLogSourceConfiguration |
withRegions(Collection<String> regions)
Specify the Regions where you want to enable Security Lake.
|
AwsLogSourceConfiguration |
withRegions(String... regions)
Specify the Regions where you want to enable Security Lake.
|
AwsLogSourceConfiguration |
withSourceName(AwsLogSourceName sourceName)
The name for a Amazon Web Services source.
|
AwsLogSourceConfiguration |
withSourceName(String sourceName)
The name for a Amazon Web Services source.
|
AwsLogSourceConfiguration |
withSourceVersion(String sourceVersion)
The version for a Amazon Web Services source.
|
public List<String> getAccounts()
Specify the Amazon Web Services account information where you want to enable Security Lake.
public void setAccounts(Collection<String> accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
accounts - Specify the Amazon Web Services account information where you want to enable Security Lake.public AwsLogSourceConfiguration withAccounts(String... accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
NOTE: This method appends the values to the existing list (if any). Use
setAccounts(java.util.Collection) or withAccounts(java.util.Collection) if you want to override
the existing values.
accounts - Specify the Amazon Web Services account information where you want to enable Security Lake.public AwsLogSourceConfiguration withAccounts(Collection<String> accounts)
Specify the Amazon Web Services account information where you want to enable Security Lake.
accounts - Specify the Amazon Web Services account information where you want to enable Security Lake.public List<String> getRegions()
Specify the Regions where you want to enable Security Lake.
public void setRegions(Collection<String> regions)
Specify the Regions where you want to enable Security Lake.
regions - Specify the Regions where you want to enable Security Lake.public AwsLogSourceConfiguration withRegions(String... regions)
Specify the Regions where you want to enable Security Lake.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection) or withRegions(java.util.Collection) if you want to override
the existing values.
regions - Specify the Regions where you want to enable Security Lake.public AwsLogSourceConfiguration withRegions(Collection<String> regions)
Specify the Regions where you want to enable Security Lake.
regions - Specify the Regions where you want to enable Security Lake.public void setSourceName(String sourceName)
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourceName - The name for a Amazon Web Services source. This must be a Regionally unique value.AwsLogSourceNamepublic String getSourceName()
The name for a Amazon Web Services source. This must be a Regionally unique value.
AwsLogSourceNamepublic AwsLogSourceConfiguration withSourceName(String sourceName)
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourceName - The name for a Amazon Web Services source. This must be a Regionally unique value.AwsLogSourceNamepublic AwsLogSourceConfiguration withSourceName(AwsLogSourceName sourceName)
The name for a Amazon Web Services source. This must be a Regionally unique value.
sourceName - The name for a Amazon Web Services source. This must be a Regionally unique value.AwsLogSourceNamepublic void setSourceVersion(String sourceVersion)
The version for a Amazon Web Services source. This must be a Regionally unique value.
sourceVersion - The version for a Amazon Web Services source. This must be a Regionally unique value.public String getSourceVersion()
The version for a Amazon Web Services source. This must be a Regionally unique value.
public AwsLogSourceConfiguration withSourceVersion(String sourceVersion)
The version for a Amazon Web Services source. This must be a Regionally unique value.
sourceVersion - The version for a Amazon Web Services source. This must be a Regionally unique value.public String toString()
toString in class ObjectObject.toString()public AwsLogSourceConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.