@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.
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.
PackageFormat
public 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.
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.
PackageFormat
public 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.
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.
PackageFormat
public 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.
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.
PackageFormat
public 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
.ExternalConnectionStatus
public String getStatus()
The status of the external connection of a repository. There is one valid value, Available
.
Available
.ExternalConnectionStatus
public 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
.ExternalConnectionStatus
public 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
.ExternalConnectionStatus
public String toString()
toString
in class Object
Object.toString()
public RepositoryExternalConnectionInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.