Class ReplicaContainer

java.lang.Object
com.azure.resourcemanager.appcontainers.models.ReplicaContainer

public final class ReplicaContainer extends Object
Container object under Container App Revision Replica.
  • Constructor Details

    • ReplicaContainer

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

    • name

      public String name()
      Get the name property: The Name of the Container.
      Returns:
      the name value.
    • withName

      public ReplicaContainer withName(String name)
      Set the name property: The Name of the Container.
      Parameters:
      name - the name value to set.
      Returns:
      the ReplicaContainer object itself.
    • containerId

      public String containerId()
      Get the containerId property: The Id of the Container.
      Returns:
      the containerId value.
    • withContainerId

      public ReplicaContainer withContainerId(String containerId)
      Set the containerId property: The Id of the Container.
      Parameters:
      containerId - the containerId value to set.
      Returns:
      the ReplicaContainer object itself.
    • ready

      public Boolean ready()
      Get the ready property: The container ready status.
      Returns:
      the ready value.
    • withReady

      public ReplicaContainer withReady(Boolean ready)
      Set the ready property: The container ready status.
      Parameters:
      ready - the ready value to set.
      Returns:
      the ReplicaContainer object itself.
    • started

      public Boolean started()
      Get the started property: The container start status.
      Returns:
      the started value.
    • withStarted

      public ReplicaContainer withStarted(Boolean started)
      Set the started property: The container start status.
      Parameters:
      started - the started value to set.
      Returns:
      the ReplicaContainer object itself.
    • restartCount

      public Integer restartCount()
      Get the restartCount property: The container restart count.
      Returns:
      the restartCount value.
    • withRestartCount

      public ReplicaContainer withRestartCount(Integer restartCount)
      Set the restartCount property: The container restart count.
      Parameters:
      restartCount - the restartCount value to set.
      Returns:
      the ReplicaContainer object itself.
    • logStreamEndpoint

      public String logStreamEndpoint()
      Get the logStreamEndpoint property: Log Stream endpoint.
      Returns:
      the logStreamEndpoint value.
    • execEndpoint

      public String execEndpoint()
      Get the execEndpoint property: Container exec endpoint.
      Returns:
      the execEndpoint value.
    • validate

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