@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SourceConnection extends Object implements Serializable, Cloneable, StructuredPojo
A top level ProductViewDetail
response containing details about the product’s connection. Service
Catalog returns this field for the CreateProduct
, UpdateProduct
,
DescribeProductAsAdmin
, and SearchProductAsAdmin
APIs. This response contains the same
fields as the ConnectionParameters
request, with the addition of the LastSync
response.
Constructor and Description |
---|
SourceConnection() |
Modifier and Type | Method and Description |
---|---|
SourceConnection |
clone() |
boolean |
equals(Object obj) |
SourceConnectionParameters |
getConnectionParameters()
The connection details based on the connection
Type . |
String |
getType()
The only supported
SourceConnection type is Codestar. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionParameters(SourceConnectionParameters connectionParameters)
The connection details based on the connection
Type . |
void |
setType(String type)
The only supported
SourceConnection type is Codestar. |
String |
toString()
Returns a string representation of this object.
|
SourceConnection |
withConnectionParameters(SourceConnectionParameters connectionParameters)
The connection details based on the connection
Type . |
SourceConnection |
withType(SourceType type)
The only supported
SourceConnection type is Codestar. |
SourceConnection |
withType(String type)
The only supported
SourceConnection type is Codestar. |
public void setType(String type)
The only supported SourceConnection
type is Codestar.
type
- The only supported SourceConnection
type is Codestar.SourceType
public String getType()
The only supported SourceConnection
type is Codestar.
SourceConnection
type is Codestar.SourceType
public SourceConnection withType(String type)
The only supported SourceConnection
type is Codestar.
type
- The only supported SourceConnection
type is Codestar.SourceType
public SourceConnection withType(SourceType type)
The only supported SourceConnection
type is Codestar.
type
- The only supported SourceConnection
type is Codestar.SourceType
public void setConnectionParameters(SourceConnectionParameters connectionParameters)
The connection details based on the connection Type
.
connectionParameters
- The connection details based on the connection Type
.public SourceConnectionParameters getConnectionParameters()
The connection details based on the connection Type
.
Type
.public SourceConnection withConnectionParameters(SourceConnectionParameters connectionParameters)
The connection details based on the connection Type
.
connectionParameters
- The connection details based on the connection Type
.public String toString()
toString
in class Object
Object.toString()
public SourceConnection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.