Interface OAuth2PropertiesPatch.Builder

  • Method Details

    • oAuth2GrantType

      OAuth2PropertiesPatch.Builder oAuth2GrantType(String oAuth2GrantType)

      The OAuth2 grant type of the OAuth2 properties to update.

      Parameters:
      oAuth2GrantType - The OAuth2 grant type of the OAuth2 properties to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuth2GrantType

      OAuth2PropertiesPatch.Builder oAuth2GrantType(OAuth2GrantType oAuth2GrantType)

      The OAuth2 grant type of the OAuth2 properties to update.

      Parameters:
      oAuth2GrantType - The OAuth2 grant type of the OAuth2 properties to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • oAuth2ClientApplication

      OAuth2PropertiesPatch.Builder oAuth2ClientApplication(OAuth2ClientApplication oAuth2ClientApplication)

      The OAuth2 client application of the OAuth2 properties to update.

      Parameters:
      oAuth2ClientApplication - The OAuth2 client application of the OAuth2 properties to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • oAuth2ClientApplication

      default OAuth2PropertiesPatch.Builder oAuth2ClientApplication(Consumer<OAuth2ClientApplication.Builder> oAuth2ClientApplication)

      The OAuth2 client application of the OAuth2 properties to update.

      This is a convenience method that creates an instance of the OAuth2ClientApplication.Builder avoiding the need to create one manually via OAuth2ClientApplication.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to oAuth2ClientApplication(OAuth2ClientApplication).

      Parameters:
      oAuth2ClientApplication - a consumer that will call methods on OAuth2ClientApplication.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tokenUrl

      The OAuth2 token URL of the OAuth2 properties to update.

      Parameters:
      tokenUrl - The OAuth2 token URL of the OAuth2 properties to update.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tokenUrlParametersMap

      OAuth2PropertiesPatch.Builder tokenUrlParametersMap(Map<String,String> tokenUrlParametersMap)

      The OAuth2 token URL parameter map of the OAuth2 properties to update, for example the scope. If you specify an empty map, the existing parameters are kept.

      Parameters:
      tokenUrlParametersMap - The OAuth2 token URL parameter map of the OAuth2 properties to update, for example the scope. If you specify an empty map, the existing parameters are kept.
      Returns:
      Returns a reference to this object so that method calls can be chained together.