@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryExternalConnectionInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the external connection of a repository.
| Constructor and Description |
|---|
RepositoryExternalConnectionInfo() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryExternalConnectionInfo |
clone() |
boolean |
equals(Object obj) |
String |
getExternalConnectionName()
The name of the external connection associated with a repository.
|
String |
getPackageFormat()
The package format associated with a repository's external connection.
|
String |
getStatus()
The status of the external connection of a repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setExternalConnectionName(String externalConnectionName)
The name of the external connection associated with a repository.
|
void |
setPackageFormat(String packageFormat)
The package format associated with a repository's external connection.
|
void |
setStatus(String status)
The status of the external connection of a repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryExternalConnectionInfo |
withExternalConnectionName(String externalConnectionName)
The name of the external connection associated with a repository.
|
RepositoryExternalConnectionInfo |
withPackageFormat(PackageFormat packageFormat)
The package format associated with a repository's external connection.
|
RepositoryExternalConnectionInfo |
withPackageFormat(String packageFormat)
The package format associated with a repository's external connection.
|
RepositoryExternalConnectionInfo |
withStatus(ExternalConnectionStatus status)
The status of the external connection of a repository.
|
RepositoryExternalConnectionInfo |
withStatus(String status)
The status of the external connection of a repository.
|
public void setExternalConnectionName(String externalConnectionName)
The name of the external connection associated with a repository.
externalConnectionName - The name of the external connection associated with a repository.public String getExternalConnectionName()
The name of the external connection associated with a repository.
public RepositoryExternalConnectionInfo withExternalConnectionName(String externalConnectionName)
The name of the external connection associated with a repository.
externalConnectionName - The name of the external connection associated with a repository.public void setPackageFormat(String 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.
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.
PackageFormatpublic String getPackageFormat()
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.
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 RepositoryExternalConnectionInfo withPackageFormat(String 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.
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.
PackageFormatpublic RepositoryExternalConnectionInfo withPackageFormat(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.
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.
PackageFormatpublic void setStatus(String status)
The status of the external connection of a repository. There is one valid value, Available.
status - The status of the external connection of a repository. There is one valid value, Available.ExternalConnectionStatuspublic String getStatus()
The status of the external connection of a repository. There is one valid value, Available.
Available.ExternalConnectionStatuspublic RepositoryExternalConnectionInfo withStatus(String status)
The status of the external connection of a repository. There is one valid value, Available.
status - The status of the external connection of a repository. There is one valid value, Available.ExternalConnectionStatuspublic RepositoryExternalConnectionInfo withStatus(ExternalConnectionStatus status)
The status of the external connection of a repository. There is one valid value, Available.
status - The status of the external connection of a repository. There is one valid value, Available.ExternalConnectionStatuspublic String toString()
toString in class ObjectObject.toString()public RepositoryExternalConnectionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.