/* * 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.securityhub.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Provides details about one of the following actions that affects or that was taken on a resource: *

* * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class Action implements Serializable, Cloneable, StructuredPojo { /** *

* The type of action that was detected. The possible action types are: *

* */ private String actionType; /** *

* Included if ActionType is NETWORK_CONNECTION. Provides details about the network * connection that was detected. *

*/ private NetworkConnectionAction networkConnectionAction; /** *

* Included if ActionType is AWS_API_CALL. Provides details about the API call that was * detected. *

*/ private AwsApiCallAction awsApiCallAction; /** *

* Included if ActionType is DNS_REQUEST. Provides details about the DNS request that was * detected. *

*/ private DnsRequestAction dnsRequestAction; /** *

* Included if ActionType is PORT_PROBE. Provides details about the port probe that was * detected. *

*/ private PortProbeAction portProbeAction; /** *

* The type of action that was detected. The possible action types are: *

* * * @param actionType * The type of action that was detected. The possible action types are:

*