All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.integrations.v1alpha.outputs.GoogleCloudIntegrationsV1alphaOidcTokenResponse Maven / Gradle / Ivy

// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.googlenative.integrations.v1alpha.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GoogleCloudIntegrationsV1alphaOidcTokenResponse {
    /**
     * @return Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.
     * 
     */
    private String audience;
    /**
     * @return The service account email to be used as the identity for the token.
     * 
     */
    private String serviceAccountEmail;
    /**
     * @return ID token obtained for the service account
     * 
     */
    private String token;
    /**
     * @return The approximate time until the token retrieved is valid.
     * 
     */
    private String tokenExpireTime;

    private GoogleCloudIntegrationsV1alphaOidcTokenResponse() {}
    /**
     * @return Audience to be used when generating OIDC token. The audience claim identifies the recipients that the JWT is intended for.
     * 
     */
    public String audience() {
        return this.audience;
    }
    /**
     * @return The service account email to be used as the identity for the token.
     * 
     */
    public String serviceAccountEmail() {
        return this.serviceAccountEmail;
    }
    /**
     * @return ID token obtained for the service account
     * 
     */
    public String token() {
        return this.token;
    }
    /**
     * @return The approximate time until the token retrieved is valid.
     * 
     */
    public String tokenExpireTime() {
        return this.tokenExpireTime;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GoogleCloudIntegrationsV1alphaOidcTokenResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String audience;
        private String serviceAccountEmail;
        private String token;
        private String tokenExpireTime;
        public Builder() {}
        public Builder(GoogleCloudIntegrationsV1alphaOidcTokenResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.audience = defaults.audience;
    	      this.serviceAccountEmail = defaults.serviceAccountEmail;
    	      this.token = defaults.token;
    	      this.tokenExpireTime = defaults.tokenExpireTime;
        }

        @CustomType.Setter
        public Builder audience(String audience) {
            this.audience = Objects.requireNonNull(audience);
            return this;
        }
        @CustomType.Setter
        public Builder serviceAccountEmail(String serviceAccountEmail) {
            this.serviceAccountEmail = Objects.requireNonNull(serviceAccountEmail);
            return this;
        }
        @CustomType.Setter
        public Builder token(String token) {
            this.token = Objects.requireNonNull(token);
            return this;
        }
        @CustomType.Setter
        public Builder tokenExpireTime(String tokenExpireTime) {
            this.tokenExpireTime = Objects.requireNonNull(tokenExpireTime);
            return this;
        }
        public GoogleCloudIntegrationsV1alphaOidcTokenResponse build() {
            final var o = new GoogleCloudIntegrationsV1alphaOidcTokenResponse();
            o.audience = audience;
            o.serviceAccountEmail = serviceAccountEmail;
            o.token = token;
            o.tokenExpireTime = tokenExpireTime;
            return o;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy