java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.fluent.models.TokenInformationInner

public final class TokenInformationInner extends Object
The token information details.
  • Constructor Details

    • TokenInformationInner

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

    • token

      public String token()
      Get the token property: Token value.
      Returns:
      the token value.
    • withToken

      public TokenInformationInner withToken(String token)
      Set the token property: Token value.
      Parameters:
      token - the token value to set.
      Returns:
      the TokenInformationInner object itself.
    • expiryTimeInUtcTicks

      public Long expiryTimeInUtcTicks()
      Get the expiryTimeInUtcTicks property: Expiry time of token.
      Returns:
      the expiryTimeInUtcTicks value.
    • withExpiryTimeInUtcTicks

      public TokenInformationInner withExpiryTimeInUtcTicks(Long expiryTimeInUtcTicks)
      Set the expiryTimeInUtcTicks property: Expiry time of token.
      Parameters:
      expiryTimeInUtcTicks - the expiryTimeInUtcTicks value to set.
      Returns:
      the TokenInformationInner object itself.
    • securityPin

      public String securityPin()
      Get the securityPin property: Security PIN.
      Returns:
      the securityPin value.
    • withSecurityPin

      public TokenInformationInner withSecurityPin(String securityPin)
      Set the securityPin property: Security PIN.
      Parameters:
      securityPin - the securityPin value to set.
      Returns:
      the TokenInformationInner object itself.
    • validate

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