@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPackageVersionDependenciesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListPackageVersionDependenciesResult() |
Modifier and Type | Method and Description |
---|---|
ListPackageVersionDependenciesResult |
clone() |
boolean |
equals(Object obj) |
List<PackageDependency> |
getDependencies()
The returned list of PackageDependency objects.
|
String |
getFormat()
A format that specifies the type of the package that contains the returned dependencies.
|
String |
getNamespace()
The namespace of the package version that contains the returned dependencies.
|
String |
getNextToken()
The token for the next set of results.
|
String |
getPackage()
The name of the package that contains the returned package versions dependencies.
|
String |
getVersion()
The version of the package that is specified in the request.
|
String |
getVersionRevision()
The current revision associated with the package version.
|
int |
hashCode() |
void |
setDependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
|
void |
setFormat(String format)
A format that specifies the type of the package that contains the returned dependencies.
|
void |
setNamespace(String namespace)
The namespace of the package version that contains the returned dependencies.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
void |
setPackage(String packageValue)
The name of the package that contains the returned package versions dependencies.
|
void |
setVersion(String version)
The version of the package that is specified in the request.
|
void |
setVersionRevision(String versionRevision)
The current revision associated with the package version.
|
String |
toString()
Returns a string representation of this object.
|
ListPackageVersionDependenciesResult |
withDependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
|
ListPackageVersionDependenciesResult |
withDependencies(PackageDependency... dependencies)
The returned list of PackageDependency objects.
|
ListPackageVersionDependenciesResult |
withFormat(PackageFormat format)
A format that specifies the type of the package that contains the returned dependencies.
|
ListPackageVersionDependenciesResult |
withFormat(String format)
A format that specifies the type of the package that contains the returned dependencies.
|
ListPackageVersionDependenciesResult |
withNamespace(String namespace)
The namespace of the package version that contains the returned dependencies.
|
ListPackageVersionDependenciesResult |
withNextToken(String nextToken)
The token for the next set of results.
|
ListPackageVersionDependenciesResult |
withPackage(String packageValue)
The name of the package that contains the returned package versions dependencies.
|
ListPackageVersionDependenciesResult |
withVersion(String version)
The version of the package that is specified in the request.
|
ListPackageVersionDependenciesResult |
withVersionRevision(String versionRevision)
The current revision associated with the package version.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListPackageVersionDependenciesResult()
public void setFormat(String format)
A format that specifies the type of the package that contains the returned dependencies.
format
- A format that specifies the type of the package that contains the returned dependencies.PackageFormat
public String getFormat()
A format that specifies the type of the package that contains the returned dependencies.
PackageFormat
public ListPackageVersionDependenciesResult withFormat(String format)
A format that specifies the type of the package that contains the returned dependencies.
format
- A format that specifies the type of the package that contains the returned dependencies.PackageFormat
public ListPackageVersionDependenciesResult withFormat(PackageFormat format)
A format that specifies the type of the package that contains the returned dependencies.
format
- A format that specifies the type of the package that contains the returned dependencies.PackageFormat
public void setNamespace(String namespace)
The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the package version that contains the returned dependencies. The package component that
specifies its namespace depends on its type. For example: The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public String getNamespace()
The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public ListPackageVersionDependenciesResult withNamespace(String namespace)
The namespace of the package version that contains the returned dependencies. The package component that specifies its namespace depends on its type. For example:
The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the package version that contains the returned dependencies. The package component that
specifies its namespace depends on its type. For example: The namespace is required when listing dependencies from package versions of the following formats:
Maven
The namespace of a Maven package version is its groupId
.
The namespace of an npm package version is its scope
.
Python and NuGet package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public void setPackage(String packageValue)
The name of the package that contains the returned package versions dependencies.
packageValue
- The name of the package that contains the returned package versions dependencies.public String getPackage()
The name of the package that contains the returned package versions dependencies.
public ListPackageVersionDependenciesResult withPackage(String packageValue)
The name of the package that contains the returned package versions dependencies.
packageValue
- The name of the package that contains the returned package versions dependencies.public void setVersion(String version)
The version of the package that is specified in the request.
version
- The version of the package that is specified in the request.public String getVersion()
The version of the package that is specified in the request.
public ListPackageVersionDependenciesResult withVersion(String version)
The version of the package that is specified in the request.
version
- The version of the package that is specified in the request.public void setVersionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision
- The current revision associated with the package version.public String getVersionRevision()
The current revision associated with the package version.
public ListPackageVersionDependenciesResult withVersionRevision(String versionRevision)
The current revision associated with the package version.
versionRevision
- The current revision associated with the package version.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListPackageVersionDependenciesResult withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public List<PackageDependency> getDependencies()
The returned list of PackageDependency objects.
public void setDependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
dependencies
- The returned list of PackageDependency objects.public ListPackageVersionDependenciesResult withDependencies(PackageDependency... dependencies)
The returned list of PackageDependency objects.
NOTE: This method appends the values to the existing list (if any). Use
setDependencies(java.util.Collection)
or withDependencies(java.util.Collection)
if you want to
override the existing values.
dependencies
- The returned list of PackageDependency objects.public ListPackageVersionDependenciesResult withDependencies(Collection<PackageDependency> dependencies)
The returned list of PackageDependency objects.
dependencies
- The returned list of PackageDependency objects.public String toString()
toString
in class Object
Object.toString()
public ListPackageVersionDependenciesResult clone()