Class UserEntityBaseParameters
- java.lang.Object
-
- com.azure.resourcemanager.apimanagement.models.UserEntityBaseParameters
-
- Direct Known Subclasses:
UserContractProperties
,UserCreateParameterProperties
,UserUpdateParametersProperties
public class UserEntityBaseParameters extends Object
User Entity Base Parameters set.
-
-
Constructor Summary
Constructors Constructor Description UserEntityBaseParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<UserIdentityContractInner>
identities()
Get the identities property: Collection of user identities.String
note()
Get the note property: Optional note about a user set by the administrator.UserState
state()
Get the state property: Account state.void
validate()
Validates the instance.UserEntityBaseParameters
withIdentities(List<UserIdentityContractInner> identities)
Set the identities property: Collection of user identities.UserEntityBaseParameters
withNote(String note)
Set the note property: Optional note about a user set by the administrator.UserEntityBaseParameters
withState(UserState state)
Set the state property: Account state.
-
-
-
Method Detail
-
state
public UserState state()
Get the state property: Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.- Returns:
- the state value.
-
withState
public UserEntityBaseParameters withState(UserState state)
Set the state property: Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.- Parameters:
state
- the state value to set.- Returns:
- the UserEntityBaseParameters object itself.
-
note
public String note()
Get the note property: Optional note about a user set by the administrator.- Returns:
- the note value.
-
withNote
public UserEntityBaseParameters withNote(String note)
Set the note property: Optional note about a user set by the administrator.- Parameters:
note
- the note value to set.- Returns:
- the UserEntityBaseParameters object itself.
-
identities
public List<UserIdentityContractInner> identities()
Get the identities property: Collection of user identities.- Returns:
- the identities value.
-
withIdentities
public UserEntityBaseParameters withIdentities(List<UserIdentityContractInner> identities)
Set the identities property: Collection of user identities.- Parameters:
identities
- the identities value to set.- Returns:
- the UserEntityBaseParameters object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-