Class Connection
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.Connection
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Connection.Builder,Connection>
@Generated("software.amazon.awssdk:codegen") public final class Connection extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Connection.Builder,Connection>
Describes an App Runner connection resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConnection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Connection.Builderbuilder()StringconnectionArn()The Amazon Resource Name (ARN) of this connection.StringconnectionName()The customer-provided connection name.InstantcreatedAt()The App Runner connection creation time, expressed as a Unix time stamp.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ProviderTypeproviderType()The source repository provider.StringproviderTypeAsString()The source repository provider.List<SdkField<?>>sdkFields()static Class<? extends Connection.Builder>serializableBuilderClass()ConnectionStatusstatus()The current state of the App Runner connection.StringstatusAsString()The current state of the App Runner connection.Connection.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
connectionName
public final String connectionName()
The customer-provided connection name.
- Returns:
- The customer-provided connection name.
-
connectionArn
public final String connectionArn()
The Amazon Resource Name (ARN) of this connection.
- Returns:
- The Amazon Resource Name (ARN) of this connection.
-
providerType
public final ProviderType providerType()
The source repository provider.
If the service returns an enum value that is not available in the current SDK version,
providerTypewill returnProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderTypeAsString().- Returns:
- The source repository provider.
- See Also:
ProviderType
-
providerTypeAsString
public final String providerTypeAsString()
The source repository provider.
If the service returns an enum value that is not available in the current SDK version,
providerTypewill returnProviderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderTypeAsString().- Returns:
- The source repository provider.
- See Also:
ProviderType
-
status
public 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,
statuswill returnConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the App Runner connection. When the state is
AVAILABLE, you can use the connection to create an App Runner service. - See Also:
ConnectionStatus
-
statusAsString
public 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,
statuswill returnConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current state of the App Runner connection. When the state is
AVAILABLE, you can use the connection to create an App Runner service. - See Also:
ConnectionStatus
-
createdAt
public final Instant createdAt()
The App Runner connection creation time, expressed as a Unix time stamp.
- Returns:
- The App Runner connection creation time, expressed as a Unix time stamp.
-
toBuilder
public Connection.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Connection.Builder,Connection>
-
builder
public static Connection.Builder builder()
-
serializableBuilderClass
public static Class<? extends Connection.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-