@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageDescription extends Object implements Serializable, Cloneable, StructuredPojo
Details about a package.
| Constructor and Description | 
|---|
PackageDescription()  | 
| Modifier and Type | Method and Description | 
|---|---|
PackageDescription | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getFormat()
 A format that specifies the type of the package. 
 | 
String | 
getName()
 The name of the package. 
 | 
String | 
getNamespace()
 The namespace of the package. 
 | 
PackageOriginConfiguration | 
getOriginConfiguration()
 The package origin configuration for the package. 
 | 
int | 
hashCode()  | 
void | 
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given  
ProtocolMarshaller. | 
void | 
setFormat(String format)
 A format that specifies the type of the package. 
 | 
void | 
setName(String name)
 The name of the package. 
 | 
void | 
setNamespace(String namespace)
 The namespace of the package. 
 | 
void | 
setOriginConfiguration(PackageOriginConfiguration originConfiguration)
 The package origin configuration for the package. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
PackageDescription | 
withFormat(PackageFormat format)
 A format that specifies the type of the package. 
 | 
PackageDescription | 
withFormat(String format)
 A format that specifies the type of the package. 
 | 
PackageDescription | 
withName(String name)
 The name of the package. 
 | 
PackageDescription | 
withNamespace(String namespace)
 The namespace of the package. 
 | 
PackageDescription | 
withOriginConfiguration(PackageOriginConfiguration originConfiguration)
 The package origin configuration for the package. 
 | 
public void setFormat(String format)
A format that specifies the type of the package.
format - A format that specifies the type of the package.PackageFormatpublic String getFormat()
A format that specifies the type of the package.
PackageFormatpublic PackageDescription withFormat(String format)
A format that specifies the type of the package.
format - A format that specifies the type of the package.PackageFormatpublic PackageDescription withFormat(PackageFormat format)
A format that specifies the type of the package.
format - A format that specifies the type of the package.PackageFormatpublic void setNamespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
 The namespace of a Maven package is its groupId.
 
 The namespace of an npm package is its scope.
 
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
namespace - The namespace of the package. The package component that specifies its namespace depends on its type. For
        example:
        
        The namespace of a Maven package is its groupId.
        
        The namespace of an npm package is its scope.
        
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
public String getNamespace()
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
 The namespace of a Maven package is its groupId.
 
 The namespace of an npm package is its scope.
 
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
         The namespace of a Maven package is its groupId.
         
         The namespace of an npm package is its scope.
         
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
public PackageDescription withNamespace(String namespace)
The namespace of the package. The package component that specifies its namespace depends on its type. For example:
 The namespace of a Maven package is its groupId.
 
 The namespace of an npm package is its scope.
 
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
namespace - The namespace of the package. The package component that specifies its namespace depends on its type. For
        example:
        
        The namespace of a Maven package is its groupId.
        
        The namespace of an npm package is its scope.
        
Python and NuGet packages do not contain a corresponding component, packages of those formats do not have a namespace.
public void setName(String name)
The name of the package.
name - The name of the package.public String getName()
The name of the package.
public PackageDescription withName(String name)
The name of the package.
name - The name of the package.public void setOriginConfiguration(PackageOriginConfiguration originConfiguration)
The package origin configuration for the package.
originConfiguration - The package origin configuration for the package.public PackageOriginConfiguration getOriginConfiguration()
The package origin configuration for the package.
public PackageDescription withOriginConfiguration(PackageOriginConfiguration originConfiguration)
The package origin configuration for the package.
originConfiguration - The package origin configuration for the package.public String toString()
toString in class ObjectObject.toString()public PackageDescription clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.