@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LogSourceResource extends Object implements Serializable, Cloneable, StructuredPojo
The supported source types from which logs and events are collected in Amazon Security Lake. For a list of supported Amazon Web Services, see the Amazon Security Lake User Guide.
Constructor and Description |
---|
LogSourceResource() |
Modifier and Type | Method and Description |
---|---|
LogSourceResource |
clone() |
boolean |
equals(Object obj) |
AwsLogSourceResource |
getAwsLogSource()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
CustomLogSourceResource |
getCustomLogSource()
Amazon Security Lake supports custom source types.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAwsLogSource(AwsLogSourceResource awsLogSource)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
void |
setCustomLogSource(CustomLogSourceResource customLogSource)
Amazon Security Lake supports custom source types.
|
String |
toString()
Returns a string representation of this object.
|
LogSourceResource |
withAwsLogSource(AwsLogSourceResource awsLogSource)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services.
|
LogSourceResource |
withCustomLogSource(CustomLogSourceResource customLogSource)
Amazon Security Lake supports custom source types.
|
public void setAwsLogSource(AwsLogSourceResource awsLogSource)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
awsLogSource
- Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security
Lake User Guide.public AwsLogSourceResource getAwsLogSource()
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
public LogSourceResource withAwsLogSource(AwsLogSourceResource awsLogSource)
Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For more information, see the Amazon Security Lake User Guide.
awsLogSource
- Amazon Security Lake supports log and event collection for natively supported Amazon Web Services. For
more information, see the Amazon Security
Lake User Guide.public void setCustomLogSource(CustomLogSourceResource customLogSource)
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
customLogSource
- Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake
User Guide.public CustomLogSourceResource getCustomLogSource()
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
public LogSourceResource withCustomLogSource(CustomLogSourceResource customLogSource)
Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake User Guide.
customLogSource
- Amazon Security Lake supports custom source types. For more information, see the Amazon Security Lake
User Guide.public String toString()
toString
in class Object
Object.toString()
public LogSourceResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.