@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsLogSourceResource extends Object implements Serializable, Cloneable, StructuredPojo
Amazon Security Lake can collect logs and events from natively-supported Amazon Web Services services.
Constructor and Description |
---|
AwsLogSourceResource() |
Modifier and Type | Method and Description |
---|---|
AwsLogSourceResource |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
AwsLogSourceResource |
withSourceName(AwsLogSourceName sourceName)
The name for a Amazon Web Services source.
|
AwsLogSourceResource |
withSourceName(String sourceName)
The name for a Amazon Web Services source.
|
AwsLogSourceResource |
withSourceVersion(String sourceVersion)
The version for a Amazon Web Services source.
|
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.AwsLogSourceName
public String getSourceName()
The name for a Amazon Web Services source. This must be a Regionally unique value.
AwsLogSourceName
public AwsLogSourceResource 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.AwsLogSourceName
public AwsLogSourceResource 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.AwsLogSourceName
public 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 AwsLogSourceResource 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 Object
Object.toString()
public AwsLogSourceResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.