@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyTypeScope extends Object implements Serializable, Cloneable, StructuredPojo
Defines the policy types that the specified Firewall Manager administrator can manage.
Constructor and Description |
---|
PolicyTypeScope() |
Modifier and Type | Method and Description |
---|---|
PolicyTypeScope |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllPolicyTypesEnabled()
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for
third-party policy types.
|
List<String> |
getPolicyTypes()
The list of policy types that the specified Firewall Manager administrator can manage.
|
int |
hashCode() |
Boolean |
isAllPolicyTypesEnabled()
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for
third-party policy types.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllPolicyTypesEnabled(Boolean allPolicyTypesEnabled)
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for
third-party policy types.
|
void |
setPolicyTypes(Collection<String> policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
|
String |
toString()
Returns a string representation of this object.
|
PolicyTypeScope |
withAllPolicyTypesEnabled(Boolean allPolicyTypesEnabled)
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for
third-party policy types.
|
PolicyTypeScope |
withPolicyTypes(Collection<String> policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
|
PolicyTypeScope |
withPolicyTypes(SecurityServiceType... policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
|
PolicyTypeScope |
withPolicyTypes(String... policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
|
public List<String> getPolicyTypes()
The list of policy types that the specified Firewall Manager administrator can manage.
SecurityServiceType
public void setPolicyTypes(Collection<String> policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
policyTypes
- The list of policy types that the specified Firewall Manager administrator can manage.SecurityServiceType
public PolicyTypeScope withPolicyTypes(String... policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyTypes(java.util.Collection)
or withPolicyTypes(java.util.Collection)
if you want to
override the existing values.
policyTypes
- The list of policy types that the specified Firewall Manager administrator can manage.SecurityServiceType
public PolicyTypeScope withPolicyTypes(Collection<String> policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
policyTypes
- The list of policy types that the specified Firewall Manager administrator can manage.SecurityServiceType
public PolicyTypeScope withPolicyTypes(SecurityServiceType... policyTypes)
The list of policy types that the specified Firewall Manager administrator can manage.
policyTypes
- The list of policy types that the specified Firewall Manager administrator can manage.SecurityServiceType
public void setAllPolicyTypesEnabled(Boolean allPolicyTypesEnabled)
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
allPolicyTypesEnabled
- Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except
for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default
administrator.public Boolean getAllPolicyTypesEnabled()
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
public PolicyTypeScope withAllPolicyTypesEnabled(Boolean allPolicyTypesEnabled)
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
allPolicyTypesEnabled
- Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except
for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default
administrator.public Boolean isAllPolicyTypesEnabled()
Allows the specified Firewall Manager administrator to manage all Firewall Manager policy types, except for third-party policy types. Third-party policy types can only be managed by the Firewall Manager default administrator.
public String toString()
toString
in class Object
Object.toString()
public PolicyTypeScope clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.