Class PackageGroupAllowedRepository
- java.lang.Object
-
- software.amazon.awssdk.services.codeartifact.model.PackageGroupAllowedRepository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PackageGroupAllowedRepository.Builder,PackageGroupAllowedRepository>
@Generated("software.amazon.awssdk:codegen") public final class PackageGroupAllowedRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PackageGroupAllowedRepository.Builder,PackageGroupAllowedRepository>
Details about an allowed repository for a package group, including its name and origin configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePackageGroupAllowedRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PackageGroupAllowedRepository.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()PackageGroupOriginRestrictionTypeoriginRestrictionType()The origin configuration restriction type of the allowed repository.StringoriginRestrictionTypeAsString()The origin configuration restriction type of the allowed repository.StringrepositoryName()The name of the allowed repository.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PackageGroupAllowedRepository.Builder>serializableBuilderClass()PackageGroupAllowedRepository.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
repositoryName
public final String repositoryName()
The name of the allowed repository.
- Returns:
- The name of the allowed repository.
-
originRestrictionType
public final PackageGroupOriginRestrictionType originRestrictionType()
The origin configuration restriction type of the allowed repository.
If the service returns an enum value that is not available in the current SDK version,
originRestrictionTypewill returnPackageGroupOriginRestrictionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginRestrictionTypeAsString().- Returns:
- The origin configuration restriction type of the allowed repository.
- See Also:
PackageGroupOriginRestrictionType
-
originRestrictionTypeAsString
public final String originRestrictionTypeAsString()
The origin configuration restriction type of the allowed repository.
If the service returns an enum value that is not available in the current SDK version,
originRestrictionTypewill returnPackageGroupOriginRestrictionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromoriginRestrictionTypeAsString().- Returns:
- The origin configuration restriction type of the allowed repository.
- See Also:
PackageGroupOriginRestrictionType
-
toBuilder
public PackageGroupAllowedRepository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PackageGroupAllowedRepository.Builder,PackageGroupAllowedRepository>
-
builder
public static PackageGroupAllowedRepository.Builder builder()
-
serializableBuilderClass
public static Class<? extends PackageGroupAllowedRepository.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-