Class CustomContainerUserSourceInfo

java.lang.Object
com.azure.resourcemanager.appplatform.models.UserSourceInfo
com.azure.resourcemanager.appplatform.models.CustomContainerUserSourceInfo

public final class CustomContainerUserSourceInfo extends UserSourceInfo
Custom container user source info.
  • Constructor Details

    • CustomContainerUserSourceInfo

      public CustomContainerUserSourceInfo()
      Creates an instance of CustomContainerUserSourceInfo class.
  • Method Details

    • customContainer

      public CustomContainer customContainer()
      Get the customContainer property: Custom container payload.
      Returns:
      the customContainer value.
    • withCustomContainer

      public CustomContainerUserSourceInfo withCustomContainer(CustomContainer customContainer)
      Set the customContainer property: Custom container payload.
      Parameters:
      customContainer - the customContainer value to set.
      Returns:
      the CustomContainerUserSourceInfo object itself.
    • withVersion

      public CustomContainerUserSourceInfo withVersion(String version)
      Set the version property: Version of the source.
      Overrides:
      withVersion in class UserSourceInfo
      Parameters:
      version - the version value to set.
      Returns:
      the UserSourceInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class UserSourceInfo
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.