@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageGroupOriginConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The package group origin configuration that determines how package versions can enter repositories.
Constructor and Description |
---|
PackageGroupOriginConfiguration() |
Modifier and Type | Method and Description |
---|---|
PackageGroupOriginConfiguration |
addRestrictionsEntry(String key,
PackageGroupOriginRestriction value)
Add a single Restrictions entry
|
PackageGroupOriginConfiguration |
clearRestrictionsEntries()
Removes all the entries added into Restrictions.
|
PackageGroupOriginConfiguration |
clone() |
boolean |
equals(Object obj) |
Map<String,PackageGroupOriginRestriction> |
getRestrictions()
The origin configuration settings that determine how package versions can enter repositories.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRestrictions(Map<String,PackageGroupOriginRestriction> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
|
String |
toString()
Returns a string representation of this object.
|
PackageGroupOriginConfiguration |
withRestrictions(Map<String,PackageGroupOriginRestriction> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
|
public Map<String,PackageGroupOriginRestriction> getRestrictions()
The origin configuration settings that determine how package versions can enter repositories.
public void setRestrictions(Map<String,PackageGroupOriginRestriction> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
restrictions
- The origin configuration settings that determine how package versions can enter repositories.public PackageGroupOriginConfiguration withRestrictions(Map<String,PackageGroupOriginRestriction> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
restrictions
- The origin configuration settings that determine how package versions can enter repositories.public PackageGroupOriginConfiguration addRestrictionsEntry(String key, PackageGroupOriginRestriction value)
public PackageGroupOriginConfiguration clearRestrictionsEntries()
public String toString()
toString
in class Object
Object.toString()
public PackageGroupOriginConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.