Class AccessInformationSecretsContractInner


  • public final class AccessInformationSecretsContractInner
    extends Object
    Tenant access information contract of the API Management service.
    • Constructor Detail

      • AccessInformationSecretsContractInner

        public AccessInformationSecretsContractInner()
    • Method Detail

      • id

        public String id()
        Get the id property: Access Information type ('access' or 'gitAccess').
        Returns:
        the id value.
      • withId

        public AccessInformationSecretsContractInner withId​(String id)
        Set the id property: Access Information type ('access' or 'gitAccess').
        Parameters:
        id - the id value to set.
        Returns:
        the AccessInformationSecretsContractInner object itself.
      • principalId

        public String principalId()
        Get the principalId property: Principal (User) Identifier.
        Returns:
        the principalId value.
      • withPrincipalId

        public AccessInformationSecretsContractInner withPrincipalId​(String principalId)
        Set the principalId property: Principal (User) Identifier.
        Parameters:
        principalId - the principalId value to set.
        Returns:
        the AccessInformationSecretsContractInner object itself.
      • primaryKey

        public String primaryKey()
        Get the primaryKey property: Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Returns:
        the primaryKey value.
      • withPrimaryKey

        public AccessInformationSecretsContractInner withPrimaryKey​(String primaryKey)
        Set the primaryKey property: Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Parameters:
        primaryKey - the primaryKey value to set.
        Returns:
        the AccessInformationSecretsContractInner object itself.
      • secondaryKey

        public String secondaryKey()
        Get the secondaryKey property: Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Returns:
        the secondaryKey value.
      • withSecondaryKey

        public AccessInformationSecretsContractInner withSecondaryKey​(String secondaryKey)
        Set the secondaryKey property: Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.
        Parameters:
        secondaryKey - the secondaryKey value to set.
        Returns:
        the AccessInformationSecretsContractInner object itself.
      • enabled

        public Boolean enabled()
        Get the enabled property: Determines whether direct access is enabled.
        Returns:
        the enabled value.
      • withEnabled

        public AccessInformationSecretsContractInner withEnabled​(Boolean enabled)
        Set the enabled property: Determines whether direct access is enabled.
        Parameters:
        enabled - the enabled value to set.
        Returns:
        the AccessInformationSecretsContractInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.