@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PackageGroupAllowedRepository extends Object implements Serializable, Cloneable, StructuredPojo
Details about an allowed repository for a package group, including its name and origin configuration.
| Constructor and Description |
|---|
PackageGroupAllowedRepository() |
| Modifier and Type | Method and Description |
|---|---|
PackageGroupAllowedRepository |
clone() |
boolean |
equals(Object obj) |
String |
getOriginRestrictionType()
The origin configuration restriction type of the allowed repository.
|
String |
getRepositoryName()
The name of the allowed repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setOriginRestrictionType(String originRestrictionType)
The origin configuration restriction type of the allowed repository.
|
void |
setRepositoryName(String repositoryName)
The name of the allowed repository.
|
String |
toString()
Returns a string representation of this object.
|
PackageGroupAllowedRepository |
withOriginRestrictionType(PackageGroupOriginRestrictionType originRestrictionType)
The origin configuration restriction type of the allowed repository.
|
PackageGroupAllowedRepository |
withOriginRestrictionType(String originRestrictionType)
The origin configuration restriction type of the allowed repository.
|
PackageGroupAllowedRepository |
withRepositoryName(String repositoryName)
The name of the allowed repository.
|
public void setRepositoryName(String repositoryName)
The name of the allowed repository.
repositoryName - The name of the allowed repository.public String getRepositoryName()
The name of the allowed repository.
public PackageGroupAllowedRepository withRepositoryName(String repositoryName)
The name of the allowed repository.
repositoryName - The name of the allowed repository.public void setOriginRestrictionType(String originRestrictionType)
The origin configuration restriction type of the allowed repository.
originRestrictionType - The origin configuration restriction type of the allowed repository.PackageGroupOriginRestrictionTypepublic String getOriginRestrictionType()
The origin configuration restriction type of the allowed repository.
PackageGroupOriginRestrictionTypepublic PackageGroupAllowedRepository withOriginRestrictionType(String originRestrictionType)
The origin configuration restriction type of the allowed repository.
originRestrictionType - The origin configuration restriction type of the allowed repository.PackageGroupOriginRestrictionTypepublic PackageGroupAllowedRepository withOriginRestrictionType(PackageGroupOriginRestrictionType originRestrictionType)
The origin configuration restriction type of the allowed repository.
originRestrictionType - The origin configuration restriction type of the allowed repository.PackageGroupOriginRestrictionTypepublic String toString()
toString in class ObjectObject.toString()public PackageGroupAllowedRepository clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.