Class JwtCredentials.Builder

  • Enclosing class:
    JwtCredentials

    public static class JwtCredentials.Builder
    extends java.lang.Object
    • Field Detail

      • privateKey

        private java.security.PrivateKey privateKey
      • privateKeyId

        private java.lang.String privateKeyId
      • clock

        private com.google.api.client.util.Clock clock
      • lifeSpanSeconds

        private java.lang.Long lifeSpanSeconds
    • Constructor Detail

      • Builder

        protected Builder()
    • Method Detail

      • setPrivateKey

        @CanIgnoreReturnValue
        public JwtCredentials.Builder setPrivateKey​(java.security.PrivateKey privateKey)
      • getPrivateKey

        public java.security.PrivateKey getPrivateKey()
      • setPrivateKeyId

        @CanIgnoreReturnValue
        public JwtCredentials.Builder setPrivateKeyId​(java.lang.String privateKeyId)
      • getPrivateKeyId

        public java.lang.String getPrivateKeyId()
      • getJwtClaims

        public JwtClaims getJwtClaims()
      • setLifeSpanSeconds

        @CanIgnoreReturnValue
        public JwtCredentials.Builder setLifeSpanSeconds​(java.lang.Long lifeSpanSeconds)
      • getLifeSpanSeconds

        public java.lang.Long getLifeSpanSeconds()
      • getClock

        com.google.api.client.util.Clock getClock()