/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.securitylake.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateCustomLogSourceRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The configuration for the third-party custom source. *

*/ private CustomLogSourceConfiguration configuration; /** *

* The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom * source will send to Security Lake. The supported event classes are: *

* */ private java.util.List eventClasses; /** *

* Specify the name for a third-party custom source. This must be a Regionally unique value. *

*/ private String sourceName; /** *

* Specify the source version for the third-party custom source, to limit log collection to a specific version of * custom data source. *

*/ private String sourceVersion; /** *

* The configuration for the third-party custom source. *

* * @param configuration * The configuration for the third-party custom source. */ public void setConfiguration(CustomLogSourceConfiguration configuration) { this.configuration = configuration; } /** *

* The configuration for the third-party custom source. *

* * @return The configuration for the third-party custom source. */ public CustomLogSourceConfiguration getConfiguration() { return this.configuration; } /** *

* The configuration for the third-party custom source. *

* * @param configuration * The configuration for the third-party custom source. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateCustomLogSourceRequest withConfiguration(CustomLogSourceConfiguration configuration) { setConfiguration(configuration); return this; } /** *

* The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the custom * source will send to Security Lake. The supported event classes are: *

* * * @return The Open Cybersecurity Schema Framework (OCSF) event classes which describes the type of data that the * custom source will send to Security Lake. The supported event classes are:

*