@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.AwsLogSourceNamepublic String getSourceName()
The name for a Amazon Web Services source. This must be a Regionally unique value.
AwsLogSourceNamepublic 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.AwsLogSourceNamepublic 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.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 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 ObjectObject.toString()public AwsLogSourceResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.