@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DiscoveredResource extends Object implements Serializable, Cloneable, StructuredPojo
A resource in the organization that's available to be associated with a Firewall Manager resource set.
Constructor and Description |
---|
DiscoveredResource() |
Modifier and Type | Method and Description |
---|---|
DiscoveredResource |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID associated with the discovered resource.
|
String |
getName()
The name of the discovered resource.
|
String |
getType()
The type of the discovered resource.
|
String |
getURI()
The universal resource identifier (URI) of the discovered resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The Amazon Web Services account ID associated with the discovered resource.
|
void |
setName(String name)
The name of the discovered resource.
|
void |
setType(String type)
The type of the discovered resource.
|
void |
setURI(String uRI)
The universal resource identifier (URI) of the discovered resource.
|
String |
toString()
Returns a string representation of this object.
|
DiscoveredResource |
withAccountId(String accountId)
The Amazon Web Services account ID associated with the discovered resource.
|
DiscoveredResource |
withName(String name)
The name of the discovered resource.
|
DiscoveredResource |
withType(String type)
The type of the discovered resource.
|
DiscoveredResource |
withURI(String uRI)
The universal resource identifier (URI) of the discovered resource.
|
public void setURI(String uRI)
The universal resource identifier (URI) of the discovered resource.
uRI
- The universal resource identifier (URI) of the discovered resource.public String getURI()
The universal resource identifier (URI) of the discovered resource.
public DiscoveredResource withURI(String uRI)
The universal resource identifier (URI) of the discovered resource.
uRI
- The universal resource identifier (URI) of the discovered resource.public void setAccountId(String accountId)
The Amazon Web Services account ID associated with the discovered resource.
accountId
- The Amazon Web Services account ID associated with the discovered resource.public String getAccountId()
The Amazon Web Services account ID associated with the discovered resource.
public DiscoveredResource withAccountId(String accountId)
The Amazon Web Services account ID associated with the discovered resource.
accountId
- The Amazon Web Services account ID associated with the discovered resource.public void setType(String type)
The type of the discovered resource.
type
- The type of the discovered resource.public String getType()
The type of the discovered resource.
public DiscoveredResource withType(String type)
The type of the discovered resource.
type
- The type of the discovered resource.public void setName(String name)
The name of the discovered resource.
name
- The name of the discovered resource.public String getName()
The name of the discovered resource.
public DiscoveredResource withName(String name)
The name of the discovered resource.
name
- The name of the discovered resource.public String toString()
toString
in class Object
Object.toString()
public DiscoveredResource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.