@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSourceNetworksRequestFilters extends Object implements Serializable, Cloneable, StructuredPojo
A set of filters by which to return Source Networks.
Constructor and Description |
---|
DescribeSourceNetworksRequestFilters() |
Modifier and Type | Method and Description |
---|---|
DescribeSourceNetworksRequestFilters |
clone() |
boolean |
equals(Object obj) |
String |
getOriginAccountID()
Filter Source Networks by account ID containing the protected VPCs.
|
String |
getOriginRegion()
Filter Source Networks by the region containing the protected VPCs.
|
List<String> |
getSourceNetworkIDs()
An array of Source Network IDs that should be returned.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setOriginAccountID(String originAccountID)
Filter Source Networks by account ID containing the protected VPCs.
|
void |
setOriginRegion(String originRegion)
Filter Source Networks by the region containing the protected VPCs.
|
void |
setSourceNetworkIDs(Collection<String> sourceNetworkIDs)
An array of Source Network IDs that should be returned.
|
String |
toString()
Returns a string representation of this object.
|
DescribeSourceNetworksRequestFilters |
withOriginAccountID(String originAccountID)
Filter Source Networks by account ID containing the protected VPCs.
|
DescribeSourceNetworksRequestFilters |
withOriginRegion(String originRegion)
Filter Source Networks by the region containing the protected VPCs.
|
DescribeSourceNetworksRequestFilters |
withSourceNetworkIDs(Collection<String> sourceNetworkIDs)
An array of Source Network IDs that should be returned.
|
DescribeSourceNetworksRequestFilters |
withSourceNetworkIDs(String... sourceNetworkIDs)
An array of Source Network IDs that should be returned.
|
public DescribeSourceNetworksRequestFilters()
public void setOriginAccountID(String originAccountID)
Filter Source Networks by account ID containing the protected VPCs.
originAccountID
- Filter Source Networks by account ID containing the protected VPCs.public String getOriginAccountID()
Filter Source Networks by account ID containing the protected VPCs.
public DescribeSourceNetworksRequestFilters withOriginAccountID(String originAccountID)
Filter Source Networks by account ID containing the protected VPCs.
originAccountID
- Filter Source Networks by account ID containing the protected VPCs.public void setOriginRegion(String originRegion)
Filter Source Networks by the region containing the protected VPCs.
originRegion
- Filter Source Networks by the region containing the protected VPCs.public String getOriginRegion()
Filter Source Networks by the region containing the protected VPCs.
public DescribeSourceNetworksRequestFilters withOriginRegion(String originRegion)
Filter Source Networks by the region containing the protected VPCs.
originRegion
- Filter Source Networks by the region containing the protected VPCs.public List<String> getSourceNetworkIDs()
An array of Source Network IDs that should be returned. An empty array means all Source Networks.
public void setSourceNetworkIDs(Collection<String> sourceNetworkIDs)
An array of Source Network IDs that should be returned. An empty array means all Source Networks.
sourceNetworkIDs
- An array of Source Network IDs that should be returned. An empty array means all Source Networks.public DescribeSourceNetworksRequestFilters withSourceNetworkIDs(String... sourceNetworkIDs)
An array of Source Network IDs that should be returned. An empty array means all Source Networks.
NOTE: This method appends the values to the existing list (if any). Use
setSourceNetworkIDs(java.util.Collection)
or withSourceNetworkIDs(java.util.Collection)
if you
want to override the existing values.
sourceNetworkIDs
- An array of Source Network IDs that should be returned. An empty array means all Source Networks.public DescribeSourceNetworksRequestFilters withSourceNetworkIDs(Collection<String> sourceNetworkIDs)
An array of Source Network IDs that should be returned. An empty array means all Source Networks.
sourceNetworkIDs
- An array of Source Network IDs that should be returned. An empty array means all Source Networks.public String toString()
toString
in class Object
Object.toString()
public DescribeSourceNetworksRequestFilters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.