TokenBodyParameterContract Class
- java.
lang. Object - com.
azure. resourcemanager. apimanagement. models. TokenBodyParameterContract
- com.
public final class TokenBodyParameterContract
OAuth acquire token request body parameter (www-url-form-encoded).
Constructor Summary
Constructor | Description |
---|---|
TokenBodyParameterContract() |
Creates an instance of Token |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
name()
Get the name property: body parameter name. |
void |
validate()
Validates the instance. |
String |
value()
Get the value property: body parameter value. |
Token |
withName(String name)
Set the name property: body parameter name. |
Token |
withValue(String value)
Set the value property: body parameter value. |
Methods inherited from java.lang.Object
Constructor Details
TokenBodyParameterContract
public TokenBodyParameterContract()
Creates an instance of TokenBodyParameterContract class.
Method Details
name
public String name()
Get the name property: body parameter name.
Returns:
validate
public void validate()
Validates the instance.
value
public String value()
Get the value property: body parameter value.
Returns:
withName
public TokenBodyParameterContract withName(String name)
Set the name property: body parameter name.
Parameters:
Returns:
withValue
public TokenBodyParameterContract withValue(String value)
Set the value property: body parameter value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for