@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSService extends Object implements Serializable, Cloneable, StructuredPojo
An Amazon Web Service such as Amazon S3 or CloudTrail.
For an example of how to find an Amazon Web Service name and how to define it in your assessment scope, see the following:
Constructor and Description |
---|
AWSService() |
Modifier and Type | Method and Description |
---|---|
AWSService |
clone() |
boolean |
equals(Object obj) |
String |
getServiceName()
The name of the Amazon Web Service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setServiceName(String serviceName)
The name of the Amazon Web Service.
|
String |
toString()
Returns a string representation of this object.
|
AWSService |
withServiceName(String serviceName)
The name of the Amazon Web Service.
|
public void setServiceName(String serviceName)
The name of the Amazon Web Service.
serviceName
- The name of the Amazon Web Service.public String getServiceName()
The name of the Amazon Web Service.
public AWSService withServiceName(String serviceName)
The name of the Amazon Web Service.
serviceName
- The name of the Amazon Web Service.public String toString()
toString
in class Object
Object.toString()
public AWSService clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.