OpenidConnectProviderUpdateContract Class

  • java.lang.Object
    • com.azure.resourcemanager.apimanagement.models.OpenidConnectProviderUpdateContract

public final class OpenidConnectProviderUpdateContract

Parameters supplied to the Update OpenID Connect Provider operation.

Constructor Summary

Constructor Description
OpenidConnectProviderUpdateContract()

Creates an instance of OpenidConnectProviderUpdateContract class.

Method Summary

Modifier and Type Method and Description
String clientId()

Get the clientId property: Client ID of developer console which is the client application.

String clientSecret()

Get the clientSecret property: Client Secret of developer console which is the client application.

String description()

Get the description property: User-friendly description of OpenID Connect Provider.

String displayName()

Get the displayName property: User-friendly OpenID Connect Provider name.

String metadataEndpoint()

Get the metadataEndpoint property: Metadata endpoint URI.

Boolean useInApiDocumentation()

Get the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal.

Boolean useInTestConsole()

Get the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console.

void validate()

Validates the instance.

OpenidConnectProviderUpdateContract withClientId(String clientId)

Set the clientId property: Client ID of developer console which is the client application.

OpenidConnectProviderUpdateContract withClientSecret(String clientSecret)

Set the clientSecret property: Client Secret of developer console which is the client application.

OpenidConnectProviderUpdateContract withDescription(String description)

Set the description property: User-friendly description of OpenID Connect Provider.

OpenidConnectProviderUpdateContract withDisplayName(String displayName)

Set the displayName property: User-friendly OpenID Connect Provider name.

OpenidConnectProviderUpdateContract withMetadataEndpoint(String metadataEndpoint)

Set the metadataEndpoint property: Metadata endpoint URI.

OpenidConnectProviderUpdateContract withUseInApiDocumentation(Boolean useInApiDocumentation)

Set the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal.

OpenidConnectProviderUpdateContract withUseInTestConsole(Boolean useInTestConsole)

Set the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console.

Methods inherited from java.lang.Object

Constructor Details

OpenidConnectProviderUpdateContract

public OpenidConnectProviderUpdateContract()

Creates an instance of OpenidConnectProviderUpdateContract class.

Method Details

clientId

public String clientId()

Get the clientId property: Client ID of developer console which is the client application.

Returns:

the clientId value.

clientSecret

public String clientSecret()

Get the clientSecret property: Client Secret of developer console which is the client application.

Returns:

the clientSecret value.

description

public String description()

Get the description property: User-friendly description of OpenID Connect Provider.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: User-friendly OpenID Connect Provider name.

Returns:

the displayName value.

metadataEndpoint

public String metadataEndpoint()

Get the metadataEndpoint property: Metadata endpoint URI.

Returns:

the metadataEndpoint value.

useInApiDocumentation

public Boolean useInApiDocumentation()

Get the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal. False by default if no value is provided.

Returns:

the useInApiDocumentation value.

useInTestConsole

public Boolean useInTestConsole()

Get the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console. True by default if no value is provided.

Returns:

the useInTestConsole value.

validate

public void validate()

Validates the instance.

withClientId

public OpenidConnectProviderUpdateContract withClientId(String clientId)

Set the clientId property: Client ID of developer console which is the client application.

Parameters:

clientId - the clientId value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withClientSecret

public OpenidConnectProviderUpdateContract withClientSecret(String clientSecret)

Set the clientSecret property: Client Secret of developer console which is the client application.

Parameters:

clientSecret - the clientSecret value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withDescription

public OpenidConnectProviderUpdateContract withDescription(String description)

Set the description property: User-friendly description of OpenID Connect Provider.

Parameters:

description - the description value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withDisplayName

public OpenidConnectProviderUpdateContract withDisplayName(String displayName)

Set the displayName property: User-friendly OpenID Connect Provider name.

Parameters:

displayName - the displayName value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withMetadataEndpoint

public OpenidConnectProviderUpdateContract withMetadataEndpoint(String metadataEndpoint)

Set the metadataEndpoint property: Metadata endpoint URI.

Parameters:

metadataEndpoint - the metadataEndpoint value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withUseInApiDocumentation

public OpenidConnectProviderUpdateContract withUseInApiDocumentation(Boolean useInApiDocumentation)

Set the useInApiDocumentation property: If true, the Open ID Connect provider will be used in the API documentation in the developer portal. False by default if no value is provided.

Parameters:

useInApiDocumentation - the useInApiDocumentation value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

withUseInTestConsole

public OpenidConnectProviderUpdateContract withUseInTestConsole(Boolean useInTestConsole)

Set the useInTestConsole property: If true, the Open ID Connect provider may be used in the developer portal test console. True by default if no value is provided.

Parameters:

useInTestConsole - the useInTestConsole value to set.

Returns:

the OpenidConnectProviderUpdateContract object itself.

Applies to