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

* Details about the security service that is being used to protect the resources. *

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

* The service that the policy is using to protect the resources. This specifies the type of policy that is created, * either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall * Manager supports one security group for each common policy and for each content audit policy. This is an * adjustable limit that you can increase by contacting Amazon Web Services Support. *

*/ private String type; /** *

* Details about the service that are specific to the service type, in JSON format. *

* */ private String managedServiceData; /** *

* Contains the Network Firewall firewall policy options to configure a centralized deployment model. *

*/ private PolicyOption policyOption; /** *

* The service that the policy is using to protect the resources. This specifies the type of policy that is created, * either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall * Manager supports one security group for each common policy and for each content audit policy. This is an * adjustable limit that you can increase by contacting Amazon Web Services Support. *

* * @param type * The service that the policy is using to protect the resources. This specifies the type of policy that is * created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group * policies, Firewall Manager supports one security group for each common policy and for each content audit * policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support. * @see SecurityServiceType */ public void setType(String type) { this.type = type; } /** *

* The service that the policy is using to protect the resources. This specifies the type of policy that is created, * either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall * Manager supports one security group for each common policy and for each content audit policy. This is an * adjustable limit that you can increase by contacting Amazon Web Services Support. *

* * @return The service that the policy is using to protect the resources. This specifies the type of policy that is * created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group * policies, Firewall Manager supports one security group for each common policy and for each content audit * policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support. * @see SecurityServiceType */ public String getType() { return this.type; } /** *

* The service that the policy is using to protect the resources. This specifies the type of policy that is created, * either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall * Manager supports one security group for each common policy and for each content audit policy. This is an * adjustable limit that you can increase by contacting Amazon Web Services Support. *

* * @param type * The service that the policy is using to protect the resources. This specifies the type of policy that is * created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group * policies, Firewall Manager supports one security group for each common policy and for each content audit * policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support. * @return Returns a reference to this object so that method calls can be chained together. * @see SecurityServiceType */ public SecurityServicePolicyData withType(String type) { setType(type); return this; } /** *

* The service that the policy is using to protect the resources. This specifies the type of policy that is created, * either an WAF policy, a Shield Advanced policy, or a security group policy. For security group policies, Firewall * Manager supports one security group for each common policy and for each content audit policy. This is an * adjustable limit that you can increase by contacting Amazon Web Services Support. *

* * @param type * The service that the policy is using to protect the resources. This specifies the type of policy that is * created, either an WAF policy, a Shield Advanced policy, or a security group policy. For security group * policies, Firewall Manager supports one security group for each common policy and for each content audit * policy. This is an adjustable limit that you can increase by contacting Amazon Web Services Support. * @return Returns a reference to this object so that method calls can be chained together. * @see SecurityServiceType */ public SecurityServicePolicyData withType(SecurityServiceType type) { this.type = type.toString(); return this; } /** *

* Details about the service that are specific to the service type, in JSON format. *

* * * @param managedServiceData * Details about the service that are specific to the service type, in JSON format.

*