public static class AuthRule.Builder extends java.lang.Object implements AuthRule.AuthRuleBuilder, AuthRule.DisabledBuilder
Modifier and Type | Method and Description |
---|---|
AuthRule |
build() |
AuthRule.AuthRuleBuilder |
withCustomKeyPair(java.lang.String publicKeyCertificateLocation,
java.lang.String privateKeyLocation) |
AuthRule.DisabledBuilder |
withDisabledAuth() |
AuthRule.AuthRuleBuilder |
withIssuer(java.lang.String issuer) |
AuthRule.AuthRuleBuilder |
withKeyId(java.lang.String keyId) |
AuthRule.AuthRuleBuilder |
withSubject(java.lang.String subject) |
public AuthRule.AuthRuleBuilder withKeyId(java.lang.String keyId)
withKeyId
in interface AuthRule.AuthRuleBuilder
public AuthRule.AuthRuleBuilder withIssuer(java.lang.String issuer)
withIssuer
in interface AuthRule.AuthRuleBuilder
public AuthRule.AuthRuleBuilder withSubject(java.lang.String subject)
withSubject
in interface AuthRule.AuthRuleBuilder
public AuthRule.AuthRuleBuilder withCustomKeyPair(java.lang.String publicKeyCertificateLocation, java.lang.String privateKeyLocation)
withCustomKeyPair
in interface AuthRule.AuthRuleBuilder
public AuthRule.DisabledBuilder withDisabledAuth()
withDisabledAuth
in interface AuthRule.AuthRuleBuilder
public AuthRule build()
build
in interface AuthRule.AuthRuleBuilder
build
in interface AuthRule.DisabledBuilder