Class EnvironmentAuthTokenInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.appcontainers.fluent.models.EnvironmentAuthTokenInner

public final class EnvironmentAuthTokenInner extends com.azure.core.management.Resource
Environment Auth Token.
  • Constructor Details

    • EnvironmentAuthTokenInner

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

    • systemData

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • withLocation

      public EnvironmentAuthTokenInner withLocation(String location)
      Overrides:
      withLocation in class com.azure.core.management.Resource
    • withTags

      public EnvironmentAuthTokenInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class com.azure.core.management.Resource
    • token

      public String token()
      Get the token property: Auth token value.
      Returns:
      the token value.
    • expires

      public OffsetDateTime expires()
      Get the expires property: Token expiration date.
      Returns:
      the expires value.
    • validate

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