Class AccessInformationContractInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.apimanagement.fluent.models.AccessInformationContractInner
-
public final class AccessInformationContractInner extends com.azure.core.management.ProxyResource
Tenant Settings.
-
-
Constructor Summary
Constructors Constructor Description AccessInformationContractInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
enabled()
Get the enabled property: Determines whether direct access is enabled.String
idPropertiesId()
Get the id property: Access Information type ('access' or 'gitAccess').String
principalId()
Get the principalId property: Principal (User) Identifier.void
validate()
Validates the instance.AccessInformationContractInner
withEnabled(Boolean enabled)
Set the enabled property: Determines whether direct access is enabled.AccessInformationContractInner
withIdPropertiesId(String id)
Set the id property: Access Information type ('access' or 'gitAccess').AccessInformationContractInner
withPrincipalId(String principalId)
Set the principalId property: Principal (User) Identifier.
-
-
-
Method Detail
-
idPropertiesId
public String idPropertiesId()
Get the id property: Access Information type ('access' or 'gitAccess').- Returns:
- the id value.
-
withIdPropertiesId
public AccessInformationContractInner withIdPropertiesId(String id)
Set the id property: Access Information type ('access' or 'gitAccess').- Parameters:
id
- the id value to set.- Returns:
- the AccessInformationContractInner object itself.
-
principalId
public String principalId()
Get the principalId property: Principal (User) Identifier.- Returns:
- the principalId value.
-
withPrincipalId
public AccessInformationContractInner withPrincipalId(String principalId)
Set the principalId property: Principal (User) Identifier.- Parameters:
principalId
- the principalId value to set.- Returns:
- the AccessInformationContractInner object itself.
-
enabled
public Boolean enabled()
Get the enabled property: Determines whether direct access is enabled.- Returns:
- the enabled value.
-
withEnabled
public AccessInformationContractInner withEnabled(Boolean enabled)
Set the enabled property: Determines whether direct access is enabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the AccessInformationContractInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-