@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegionScope extends Object implements Serializable, Cloneable, StructuredPojo
Defines the Amazon Web Services Regions that the specified Firewall Manager administrator can manage.
Constructor and Description |
---|
RegionScope() |
Modifier and Type | Method and Description |
---|---|
RegionScope |
clone() |
boolean |
equals(Object obj) |
Boolean |
getAllRegionsEnabled()
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
|
List<String> |
getRegions()
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
|
int |
hashCode() |
Boolean |
isAllRegionsEnabled()
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllRegionsEnabled(Boolean allRegionsEnabled)
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
|
void |
setRegions(Collection<String> regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
|
String |
toString()
Returns a string representation of this object.
|
RegionScope |
withAllRegionsEnabled(Boolean allRegionsEnabled)
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
|
RegionScope |
withRegions(Collection<String> regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
|
RegionScope |
withRegions(String... regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
|
public List<String> getRegions()
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
public void setRegions(Collection<String> regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
regions
- The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.public RegionScope withRegions(String... regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
NOTE: This method appends the values to the existing list (if any). Use
setRegions(java.util.Collection)
or withRegions(java.util.Collection)
if you want to override
the existing values.
regions
- The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.public RegionScope withRegions(Collection<String> regions)
The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.
regions
- The Amazon Web Services Regions that the specified Firewall Manager administrator can perform actions in.public void setAllRegionsEnabled(Boolean allRegionsEnabled)
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
allRegionsEnabled
- Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.public Boolean getAllRegionsEnabled()
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
public RegionScope withAllRegionsEnabled(Boolean allRegionsEnabled)
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
allRegionsEnabled
- Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.public Boolean isAllRegionsEnabled()
Allows the specified Firewall Manager administrator to manage all Amazon Web Services Regions.
public String toString()
toString
in class Object
Object.toString()
public RegionScope clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.