@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  PackageOriginRestrictionsobject 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  PackageOriginRestrictionsobject 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  PackageOriginRestrictionsobject 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 ObjectObject.toString()public PackageOriginConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.