public static final class ProvidersTypes.Info.Builder
extends java.lang.Object
ProvidersTypes.Info
.Constructor and Description |
---|
Builder(java.util.Set<java.lang.String> orgIds,
ProvidersTypes.ConfigType configTag,
boolean isDefault)
Constructor with parameters for the required properties of
ProvidersTypes.Info . |
Modifier and Type | Method and Description |
---|---|
ProvidersTypes.Info |
build() |
ProvidersTypes.Info.Builder |
setActiveDirectoryOverLdap(ProvidersTypes.ActiveDirectoryOverLdap activeDirectoryOverLdap)
Identity management configuration.
|
ProvidersTypes.Info.Builder |
setAuthQueryParams(java.util.Map<java.lang.String,java.util.List<java.lang.String>> authQueryParams)
key/value pairs that are to be appended to the authEndpoint request.
|
ProvidersTypes.Info.Builder |
setDomainNames(java.util.Set<java.lang.String> domainNames)
Set of fully qualified domain names to trust when federating with this identity
provider.
|
ProvidersTypes.Info.Builder |
setGroupsClaim(java.lang.String groupsClaim)
Specifies which claim provides the group membership for the token subject.
|
ProvidersTypes.Info.Builder |
setIdmEndpoints(java.util.List<java.net.URI> idmEndpoints)
Identity management endpoints.
|
ProvidersTypes.Info.Builder |
setIdmProtocol(ProvidersTypes.IdmProtocol idmProtocol)
Communication protocol to the identity management endpoints.
|
ProvidersTypes.Info.Builder |
setName(java.lang.String name)
The user friendly name for the provider.
|
ProvidersTypes.Info.Builder |
setOauth2(ProvidersTypes.Oauth2Info oauth2)
OAuth2 Info.
|
ProvidersTypes.Info.Builder |
setOidc(ProvidersTypes.OidcInfo oidc)
OIDC Info.
|
ProvidersTypes.Info.Builder |
setUpnClaim(java.lang.String upnClaim)
Specifies which claim provides the user principal name (UPN) for the user.
|
public Builder(java.util.Set<java.lang.String> orgIds, ProvidersTypes.ConfigType configTag, boolean isDefault)
ProvidersTypes.Info
.public ProvidersTypes.Info.Builder setName(java.lang.String name)
name
- New value for the property.public ProvidersTypes.Info.Builder setOauth2(ProvidersTypes.Oauth2Info oauth2)
getConfigTag()
is com.vmware.vcenter.identity.ProvidersTypes.ConfigType#OAUTH2
.oauth2
- New value for the property.public ProvidersTypes.Info.Builder setOidc(ProvidersTypes.OidcInfo oidc)
getConfigTag()
is com.vmware.vcenter.identity.ProvidersTypes.ConfigType#OIDC
.oidc
- New value for the property.public ProvidersTypes.Info.Builder setDomainNames(java.util.Set<java.lang.String> domainNames)
domainNames
- New value for the property.public ProvidersTypes.Info.Builder setAuthQueryParams(java.util.Map<java.lang.String,java.util.List<java.lang.String>> authQueryParams)
key/value pairs that are to be appended to the authEndpoint request.
How to append to authEndpoint request:
If the map is not empty, a "?" is added to the endpoint URL, and combination of each k and each string in the v is added with an "&" delimiter. Details:authQueryParams
- New value for the property.public ProvidersTypes.Info.Builder setIdmProtocol(ProvidersTypes.IdmProtocol idmProtocol)
idmProtocol
- New value for the property.public ProvidersTypes.Info.Builder setIdmEndpoints(java.util.List<java.net.URI> idmEndpoints)
getIdmProtocol()
is one of ProvidersTypes.IdmProtocol.REST
or ProvidersTypes.IdmProtocol.SCIM
.idmEndpoints
- New value for the property.public ProvidersTypes.Info.Builder setActiveDirectoryOverLdap(ProvidersTypes.ActiveDirectoryOverLdap activeDirectoryOverLdap)
getIdmProtocol()
is ProvidersTypes.IdmProtocol.LDAP
.activeDirectoryOverLdap
- New value for the property.public ProvidersTypes.Info.Builder setUpnClaim(java.lang.String upnClaim)
upnClaim
- New value for the property.public ProvidersTypes.Info.Builder setGroupsClaim(java.lang.String groupsClaim)
groupsClaim
- New value for the property.public ProvidersTypes.Info build()