@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageOriginConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Details about the package origin configuration of a package.
Constructor and Description |
---|
PackageOriginConfiguration() |
Modifier and Type | Method and Description |
---|---|
PackageOriginConfiguration |
clone() |
boolean |
equals(Object obj) |
PackageOriginRestrictions |
getRestrictions()
A
PackageOriginRestrictions object that contains information about the upstream and publish package
origin configuration for the package. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRestrictions(PackageOriginRestrictions restrictions)
A
PackageOriginRestrictions object that contains information about the upstream and publish package
origin configuration for the package. |
String |
toString()
Returns a string representation of this object.
|
PackageOriginConfiguration |
withRestrictions(PackageOriginRestrictions restrictions)
A
PackageOriginRestrictions object that contains information about the upstream and publish package
origin configuration for the package. |
public void setRestrictions(PackageOriginRestrictions restrictions)
A PackageOriginRestrictions
object that contains information about the upstream and publish package
origin configuration for the package.
restrictions
- A PackageOriginRestrictions
object that contains information about the upstream and publish
package origin configuration for the package.public PackageOriginRestrictions getRestrictions()
A PackageOriginRestrictions
object that contains information about the upstream and publish package
origin configuration for the package.
PackageOriginRestrictions
object that contains information about the upstream and publish
package origin configuration for the package.public PackageOriginConfiguration withRestrictions(PackageOriginRestrictions restrictions)
A PackageOriginRestrictions
object that contains information about the upstream and publish package
origin configuration for the package.
restrictions
- A PackageOriginRestrictions
object that contains information about the upstream and publish
package origin configuration for the package.public String toString()
toString
in class Object
Object.toString()
public PackageOriginConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.