@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdatePackageGroupOriginConfigurationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdatePackageGroupOriginConfigurationRequest() |
Modifier and Type | Method and Description |
---|---|
UpdatePackageGroupOriginConfigurationRequest |
addRestrictionsEntry(String key,
String value)
Add a single Restrictions entry
|
UpdatePackageGroupOriginConfigurationRequest |
clearRestrictionsEntries()
Removes all the entries added into Restrictions.
|
UpdatePackageGroupOriginConfigurationRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<PackageGroupAllowedRepository> |
getAddAllowedRepositories()
The repository name and restrictions to add to the allowed repository list of the specified package group.
|
String |
getDomain()
The name of the domain which contains the package group for which to update the origin configuration.
|
String |
getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
String |
getPackageGroup()
The pattern of the package group for which to update the origin configuration.
|
List<PackageGroupAllowedRepository> |
getRemoveAllowedRepositories()
The repository name and restrictions to remove from the allowed repository list of the specified package group.
|
Map<String,String> |
getRestrictions()
The origin configuration settings that determine how package versions can enter repositories.
|
int |
hashCode() |
void |
setAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
|
void |
setDomain(String domain)
The name of the domain which contains the package group for which to update the origin configuration.
|
void |
setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
void |
setPackageGroup(String packageGroup)
The pattern of the package group for which to update the origin configuration.
|
void |
setRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
|
void |
setRestrictions(Map<String,String> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
|
String |
toString()
Returns a string representation of this object.
|
UpdatePackageGroupOriginConfigurationRequest |
withAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
|
UpdatePackageGroupOriginConfigurationRequest |
withAddAllowedRepositories(PackageGroupAllowedRepository... addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
|
UpdatePackageGroupOriginConfigurationRequest |
withDomain(String domain)
The name of the domain which contains the package group for which to update the origin configuration.
|
UpdatePackageGroupOriginConfigurationRequest |
withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain.
|
UpdatePackageGroupOriginConfigurationRequest |
withPackageGroup(String packageGroup)
The pattern of the package group for which to update the origin configuration.
|
UpdatePackageGroupOriginConfigurationRequest |
withRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
|
UpdatePackageGroupOriginConfigurationRequest |
withRemoveAllowedRepositories(PackageGroupAllowedRepository... removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
|
UpdatePackageGroupOriginConfigurationRequest |
withRestrictions(Map<String,String> restrictions)
The origin configuration settings that determine how package versions can enter repositories.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public UpdatePackageGroupOriginConfigurationRequest()
public void setDomain(String domain)
The name of the domain which contains the package group for which to update the origin configuration.
domain
- The name of the domain which contains the package group for which to update the origin configuration.public String getDomain()
The name of the domain which contains the package group for which to update the origin configuration.
public UpdatePackageGroupOriginConfigurationRequest withDomain(String domain)
The name of the domain which contains the package group for which to update the origin configuration.
domain
- The name of the domain which contains the package group for which to update the origin configuration.public void setDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public String getDomainOwner()
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
public UpdatePackageGroupOriginConfigurationRequest withDomainOwner(String domainOwner)
The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include dashes or spaces.
domainOwner
- The 12-digit account number of the Amazon Web Services account that owns the domain. It does not include
dashes or spaces.public void setPackageGroup(String packageGroup)
The pattern of the package group for which to update the origin configuration.
packageGroup
- The pattern of the package group for which to update the origin configuration.public String getPackageGroup()
The pattern of the package group for which to update the origin configuration.
public UpdatePackageGroupOriginConfigurationRequest withPackageGroup(String packageGroup)
The pattern of the package group for which to update the origin configuration.
packageGroup
- The pattern of the package group for which to update the origin configuration.public Map<String,String> getRestrictions()
The origin configuration settings that determine how package versions can enter repositories.
public void setRestrictions(Map<String,String> 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 UpdatePackageGroupOriginConfigurationRequest withRestrictions(Map<String,String> 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 UpdatePackageGroupOriginConfigurationRequest addRestrictionsEntry(String key, String value)
public UpdatePackageGroupOriginConfigurationRequest clearRestrictionsEntries()
public List<PackageGroupAllowedRepository> getAddAllowedRepositories()
The repository name and restrictions to add to the allowed repository list of the specified package group.
public void setAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
addAllowedRepositories
- The repository name and restrictions to add to the allowed repository list of the specified package group.public UpdatePackageGroupOriginConfigurationRequest withAddAllowedRepositories(PackageGroupAllowedRepository... addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
NOTE: This method appends the values to the existing list (if any). Use
setAddAllowedRepositories(java.util.Collection)
or
withAddAllowedRepositories(java.util.Collection)
if you want to override the existing values.
addAllowedRepositories
- The repository name and restrictions to add to the allowed repository list of the specified package group.public UpdatePackageGroupOriginConfigurationRequest withAddAllowedRepositories(Collection<PackageGroupAllowedRepository> addAllowedRepositories)
The repository name and restrictions to add to the allowed repository list of the specified package group.
addAllowedRepositories
- The repository name and restrictions to add to the allowed repository list of the specified package group.public List<PackageGroupAllowedRepository> getRemoveAllowedRepositories()
The repository name and restrictions to remove from the allowed repository list of the specified package group.
public void setRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
removeAllowedRepositories
- The repository name and restrictions to remove from the allowed repository list of the specified package
group.public UpdatePackageGroupOriginConfigurationRequest withRemoveAllowedRepositories(PackageGroupAllowedRepository... removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
NOTE: This method appends the values to the existing list (if any). Use
setRemoveAllowedRepositories(java.util.Collection)
or
withRemoveAllowedRepositories(java.util.Collection)
if you want to override the existing values.
removeAllowedRepositories
- The repository name and restrictions to remove from the allowed repository list of the specified package
group.public UpdatePackageGroupOriginConfigurationRequest withRemoveAllowedRepositories(Collection<PackageGroupAllowedRepository> removeAllowedRepositories)
The repository name and restrictions to remove from the allowed repository list of the specified package group.
removeAllowedRepositories
- The repository name and restrictions to remove from the allowed repository list of the specified package
group.public String toString()
toString
in class Object
Object.toString()
public UpdatePackageGroupOriginConfigurationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()