@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Connection extends Object implements Serializable, Cloneable, StructuredPojo
Describes an App Runner connection resource.
| Constructor and Description |
|---|
Connection() |
| Modifier and Type | Method and Description |
|---|---|
Connection |
clone() |
boolean |
equals(Object obj) |
String |
getConnectionArn()
The Amazon Resource Name (ARN) of this connection.
|
String |
getConnectionName()
The customer-provided connection name.
|
Date |
getCreatedAt()
The App Runner connection creation time, expressed as a Unix time stamp.
|
String |
getProviderType()
The source repository provider.
|
String |
getStatus()
The current state of the App Runner connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of this connection.
|
void |
setConnectionName(String connectionName)
The customer-provided connection name.
|
void |
setCreatedAt(Date createdAt)
The App Runner connection creation time, expressed as a Unix time stamp.
|
void |
setProviderType(String providerType)
The source repository provider.
|
void |
setStatus(String status)
The current state of the App Runner connection.
|
String |
toString()
Returns a string representation of this object.
|
Connection |
withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of this connection.
|
Connection |
withConnectionName(String connectionName)
The customer-provided connection name.
|
Connection |
withCreatedAt(Date createdAt)
The App Runner connection creation time, expressed as a Unix time stamp.
|
Connection |
withProviderType(ProviderType providerType)
The source repository provider.
|
Connection |
withProviderType(String providerType)
The source repository provider.
|
Connection |
withStatus(ConnectionStatus status)
The current state of the App Runner connection.
|
Connection |
withStatus(String status)
The current state of the App Runner connection.
|
public void setConnectionName(String connectionName)
The customer-provided connection name.
connectionName - The customer-provided connection name.public String getConnectionName()
The customer-provided connection name.
public Connection withConnectionName(String connectionName)
The customer-provided connection name.
connectionName - The customer-provided connection name.public void setConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of this connection.
connectionArn - The Amazon Resource Name (ARN) of this connection.public String getConnectionArn()
The Amazon Resource Name (ARN) of this connection.
public Connection withConnectionArn(String connectionArn)
The Amazon Resource Name (ARN) of this connection.
connectionArn - The Amazon Resource Name (ARN) of this connection.public void setProviderType(String providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic String getProviderType()
The source repository provider.
ProviderTypepublic Connection withProviderType(String providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic Connection withProviderType(ProviderType providerType)
The source repository provider.
providerType - The source repository provider.ProviderTypepublic void setStatus(String status)
The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.
status - The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic String getStatus()
The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.
AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic Connection withStatus(String status)
The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.
status - The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic Connection withStatus(ConnectionStatus status)
The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.
status - The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic void setCreatedAt(Date createdAt)
The App Runner connection creation time, expressed as a Unix time stamp.
createdAt - The App Runner connection creation time, expressed as a Unix time stamp.public Date getCreatedAt()
The App Runner connection creation time, expressed as a Unix time stamp.
public Connection withCreatedAt(Date createdAt)
The App Runner connection creation time, expressed as a Unix time stamp.
createdAt - The App Runner connection creation time, expressed as a Unix time stamp.public String toString()
toString in class ObjectObject.toString()public Connection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.