@Generated(value="software.amazon.awssdk:codegen") public final class Connection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Connection.Builder,Connection>
Describes an App Runner connection resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
Connection.Builder |
| Modifier and Type | Method and Description |
|---|---|
static Connection.Builder |
builder() |
String |
connectionArn()
The Amazon Resource Name (ARN) of this connection.
|
String |
connectionName()
The customer-provided connection name.
|
Instant |
createdAt()
The App Runner connection creation time, expressed as a Unix time stamp.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ProviderType |
providerType()
The source repository provider.
|
String |
providerTypeAsString()
The source repository provider.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Connection.Builder> |
serializableBuilderClass() |
ConnectionStatus |
status()
The current state of the App Runner connection.
|
String |
statusAsString()
The current state of the App Runner connection.
|
Connection.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectionName()
The customer-provided connection name.
public final String connectionArn()
The Amazon Resource Name (ARN) of this connection.
public final ProviderType providerType()
The source repository provider.
If the service returns an enum value that is not available in the current SDK version, providerType will
return ProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerTypeAsString().
ProviderTypepublic final String providerTypeAsString()
The source repository provider.
If the service returns an enum value that is not available in the current SDK version, providerType will
return ProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
providerTypeAsString().
ProviderTypepublic final 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.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic final String statusAsString()
The current state of the App Runner connection. When the state is AVAILABLE, you can use the
connection to create an App Runner service.
If the service returns an enum value that is not available in the current SDK version, status will
return ConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
AVAILABLE, you can use the
connection to create an App Runner service.ConnectionStatuspublic final Instant createdAt()
The App Runner connection creation time, expressed as a Unix time stamp.
public Connection.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Connection.Builder,Connection>public static Connection.Builder builder()
public static Class<? extends Connection.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.