@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Location extends Object implements Serializable, Cloneable, StructuredPojo
The location of resources.
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
Location |
clone() |
boolean |
equals(Object obj) |
List<CodeGenNodeArg> |
getJdbc()
A JDBC location.
|
List<CodeGenNodeArg> |
getS3()
An AWS S3 location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setJdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
|
void |
setS3(Collection<CodeGenNodeArg> s3)
An AWS S3 location.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Location |
withJdbc(CodeGenNodeArg... jdbc)
A JDBC location.
|
Location |
withJdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
|
Location |
withS3(CodeGenNodeArg... s3)
An AWS S3 location.
|
Location |
withS3(Collection<CodeGenNodeArg> s3)
An AWS S3 location.
|
public List<CodeGenNodeArg> getJdbc()
A JDBC location.
public void setJdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
jdbc
- A JDBC location.public Location withJdbc(CodeGenNodeArg... jdbc)
A JDBC location.
NOTE: This method appends the values to the existing list (if any). Use
setJdbc(java.util.Collection)
or withJdbc(java.util.Collection)
if you want to override the
existing values.
jdbc
- A JDBC location.public Location withJdbc(Collection<CodeGenNodeArg> jdbc)
A JDBC location.
jdbc
- A JDBC location.public List<CodeGenNodeArg> getS3()
An AWS S3 location.
public void setS3(Collection<CodeGenNodeArg> s3)
An AWS S3 location.
s3
- An AWS S3 location.public Location withS3(CodeGenNodeArg... s3)
An AWS S3 location.
NOTE: This method appends the values to the existing list (if any). Use
setS3(java.util.Collection)
or withS3(java.util.Collection)
if you want to override the
existing values.
s3
- An AWS S3 location.public Location withS3(Collection<CodeGenNodeArg> s3)
An AWS S3 location.
s3
- An AWS S3 location.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.