@Generated(value="software.amazon.awssdk:codegen") public final class RepositoryExternalConnectionInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RepositoryExternalConnectionInfo.Builder,RepositoryExternalConnectionInfo>
Contains information about the external connection of a repository.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RepositoryExternalConnectionInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryExternalConnectionInfo.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalConnectionName()
The name of the external connection associated with a repository.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
PackageFormat |
packageFormat()
The package format associated with a repository's external connection.
|
String |
packageFormatAsString()
The package format associated with a repository's external connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends RepositoryExternalConnectionInfo.Builder> |
serializableBuilderClass() |
ExternalConnectionStatus |
status()
The status of the external connection of a repository.
|
String |
statusAsString()
The status of the external connection of a repository.
|
RepositoryExternalConnectionInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String externalConnectionName()
The name of the external connection associated with a repository.
public final PackageFormat packageFormat()
The package format associated with a repository's external connection. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget: A NuGet package.
If the service returns an enum value that is not available in the current SDK version, packageFormat
will return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageFormatAsString().
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
nuget: A NuGet package.
PackageFormatpublic final String packageFormatAsString()
The package format associated with a repository's external connection. The valid package formats are:
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR file.
nuget: A NuGet package.
If the service returns an enum value that is not available in the current SDK version, packageFormat
will return PackageFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
packageFormatAsString().
npm: A Node Package Manager (npm) package.
pypi: A Python Package Index (PyPI) package.
maven: A Maven package that contains compiled code in a distributable format, such as a JAR
file.
nuget: A NuGet package.
PackageFormatpublic final ExternalConnectionStatus status()
The status of the external connection of a repository. There is one valid value, Available.
If the service returns an enum value that is not available in the current SDK version, status will
return ExternalConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
Available.ExternalConnectionStatuspublic final String statusAsString()
The status of the external connection of a repository. There is one valid value, Available.
If the service returns an enum value that is not available in the current SDK version, status will
return ExternalConnectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from statusAsString().
Available.ExternalConnectionStatuspublic RepositoryExternalConnectionInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RepositoryExternalConnectionInfo.Builder,RepositoryExternalConnectionInfo>public static RepositoryExternalConnectionInfo.Builder builder()
public static Class<? extends RepositoryExternalConnectionInfo.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.