Class ImageRepository
- java.lang.Object
-
- software.amazon.awssdk.services.apprunner.model.ImageRepository
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ImageRepository.Builder,ImageRepository>
@Generated("software.amazon.awssdk:codegen") public final class ImageRepository extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ImageRepository.Builder,ImageRepository>
Describes a source image repository.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceImageRepository.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageRepository.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ImageConfigurationimageConfiguration()Configuration for running the identified image.StringimageIdentifier()The identifier of an image.ImageRepositoryTypeimageRepositoryType()The type of the image repository.StringimageRepositoryTypeAsString()The type of the image repository.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ImageRepository.Builder>serializableBuilderClass()ImageRepository.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
-
imageIdentifier
public final String imageIdentifier()
The identifier of an image.
For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.
- Returns:
- The identifier of an image.
For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see Pulling an image in the Amazon ECR User Guide.
-
imageConfiguration
public final ImageConfiguration imageConfiguration()
Configuration for running the identified image.
- Returns:
- Configuration for running the identified image.
-
imageRepositoryType
public final ImageRepositoryType imageRepositoryType()
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
If the service returns an enum value that is not available in the current SDK version,
imageRepositoryTypewill returnImageRepositoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimageRepositoryTypeAsString().- Returns:
- The type of the image repository. This reflects the repository provider and whether the repository is private or public.
- See Also:
ImageRepositoryType
-
imageRepositoryTypeAsString
public final String imageRepositoryTypeAsString()
The type of the image repository. This reflects the repository provider and whether the repository is private or public.
If the service returns an enum value that is not available in the current SDK version,
imageRepositoryTypewill returnImageRepositoryType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromimageRepositoryTypeAsString().- Returns:
- The type of the image repository. This reflects the repository provider and whether the repository is private or public.
- See Also:
ImageRepositoryType
-
toBuilder
public ImageRepository.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ImageRepository.Builder,ImageRepository>
-
builder
public static ImageRepository.Builder builder()
-
serializableBuilderClass
public static Class<? extends ImageRepository.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
-
-