@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatedPackage extends Object implements Serializable, Cloneable, StructuredPojo
A package associated with a package group.
Constructor and Description |
---|
AssociatedPackage() |
Modifier and Type | Method and Description |
---|---|
AssociatedPackage |
clone() |
boolean |
equals(Object obj) |
String |
getAssociationType()
Describes the strength of the association between the package and package group.
|
String |
getFormat()
A format that specifies the type of the associated package.
|
String |
getNamespace()
The namespace of the associated package.
|
String |
getPackage()
The name of the associated package.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAssociationType(String associationType)
Describes the strength of the association between the package and package group.
|
void |
setFormat(String format)
A format that specifies the type of the associated package.
|
void |
setNamespace(String namespace)
The namespace of the associated package.
|
void |
setPackage(String packageValue)
The name of the associated package.
|
String |
toString()
Returns a string representation of this object.
|
AssociatedPackage |
withAssociationType(PackageGroupAssociationType associationType)
Describes the strength of the association between the package and package group.
|
AssociatedPackage |
withAssociationType(String associationType)
Describes the strength of the association between the package and package group.
|
AssociatedPackage |
withFormat(PackageFormat format)
A format that specifies the type of the associated package.
|
AssociatedPackage |
withFormat(String format)
A format that specifies the type of the associated package.
|
AssociatedPackage |
withNamespace(String namespace)
The namespace of the associated package.
|
AssociatedPackage |
withPackage(String packageValue)
The name of the associated package.
|
public void setFormat(String format)
A format that specifies the type of the associated package.
format
- A format that specifies the type of the associated package.PackageFormat
public String getFormat()
A format that specifies the type of the associated package.
PackageFormat
public AssociatedPackage withFormat(String format)
A format that specifies the type of the associated package.
format
- A format that specifies the type of the associated package.PackageFormat
public AssociatedPackage withFormat(PackageFormat format)
A format that specifies the type of the associated package.
format
- A format that specifies the type of the associated package.PackageFormat
public void setNamespace(String namespace)
The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the associated package. The package component that specifies its namespace depends on its
type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo 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 associated package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
public AssociatedPackage withNamespace(String namespace)
The namespace of the associated package. The package component that specifies its namespace depends on its type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo package versions do not contain a corresponding component, package versions of those formats do not have a namespace.
namespace
- The namespace of the associated package. The package component that specifies its namespace depends on its
type. For example:
The namespace of a Maven package version is its groupId
.
The namespace of an npm or Swift package version is its scope
.
The namespace of a generic package is its namespace
.
Python, NuGet, Ruby, and Cargo 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 associated package.
packageValue
- The name of the associated package.public String getPackage()
The name of the associated package.
public AssociatedPackage withPackage(String packageValue)
The name of the associated package.
packageValue
- The name of the associated package.public void setAssociationType(String associationType)
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
associationType
- Describes the strength of the association between the package and package group. A strong match can be
thought of as an exact match, and a weak match can be thought of as a variation match, for example, the
package name matches a variation of the package group pattern. For more information about package group
pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.PackageGroupAssociationType
public String getAssociationType()
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
PackageGroupAssociationType
public AssociatedPackage withAssociationType(String associationType)
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
associationType
- Describes the strength of the association between the package and package group. A strong match can be
thought of as an exact match, and a weak match can be thought of as a variation match, for example, the
package name matches a variation of the package group pattern. For more information about package group
pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.PackageGroupAssociationType
public AssociatedPackage withAssociationType(PackageGroupAssociationType associationType)
Describes the strength of the association between the package and package group. A strong match can be thought of as an exact match, and a weak match can be thought of as a variation match, for example, the package name matches a variation of the package group pattern. For more information about package group pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.
associationType
- Describes the strength of the association between the package and package group. A strong match can be
thought of as an exact match, and a weak match can be thought of as a variation match, for example, the
package name matches a variation of the package group pattern. For more information about package group
pattern matching, including strong and weak matches, see Package group definition syntax and matching behavior in the CodeArtifact User Guide.PackageGroupAssociationType
public String toString()
toString
in class Object
Object.toString()
public AssociatedPackage clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.