Class TokenInformationInner
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.fluent.models.TokenInformationInner
-
public final class TokenInformationInner extends Object
The token information details.
-
-
Constructor Summary
Constructors Constructor Description TokenInformationInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
expiryTimeInUtcTicks()
Get the expiryTimeInUtcTicks property: Expiry time of token.String
securityPin()
Get the securityPin property: Security PIN.String
token()
Get the token property: Token value.void
validate()
Validates the instance.TokenInformationInner
withExpiryTimeInUtcTicks(Long expiryTimeInUtcTicks)
Set the expiryTimeInUtcTicks property: Expiry time of token.TokenInformationInner
withSecurityPin(String securityPin)
Set the securityPin property: Security PIN.TokenInformationInner
withToken(String token)
Set the token property: Token value.
-
-
-
Method Detail
-
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.
-
-