AssignmentPrincipal Class
- java.
lang. Object - com.
azure. resourcemanager. customerinsights. models. AssignmentPrincipal
- com.
public final class AssignmentPrincipal
The AssignmentPrincipal.
Constructor Summary
Constructor | Description |
---|---|
AssignmentPrincipal() |
Creates an instance of Assignment |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
principalId()
Get the principal |
Map<String,String> |
principalMetadata()
Get the principal |
String |
principalType()
Get the principal |
void |
validate()
Validates the instance. |
Assignment |
withPrincipalId(String principalId)
Set the principal |
Assignment |
withPrincipalMetadata(Map<String,String> principalMetadata)
Set the principal |
Assignment |
withPrincipalType(String principalType)
Set the principal |
Methods inherited from java.lang.Object
Constructor Details
AssignmentPrincipal
public AssignmentPrincipal()
Creates an instance of AssignmentPrincipal class.
Method Details
principalId
public String principalId()
Get the principalId property: The principal id being assigned to.
Returns:
principalMetadata
public Map
Get the principalMetadata property: Other metadata for the principal.
Returns:
principalType
public String principalType()
Get the principalType property: The Type of the principal ID.
Returns:
validate
public void validate()
Validates the instance.
withPrincipalId
public AssignmentPrincipal withPrincipalId(String principalId)
Set the principalId property: The principal id being assigned to.
Parameters:
Returns:
withPrincipalMetadata
public AssignmentPrincipal withPrincipalMetadata(Map
Set the principalMetadata property: Other metadata for the principal.
Parameters:
Returns:
withPrincipalType
public AssignmentPrincipal withPrincipalType(String principalType)
Set the principalType property: The Type of the principal ID.
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