com.pulumi.googlenative.integrations.v1alpha.outputs.GoogleCloudIntegrationsV1alphaAuthTokenResponse 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 GoogleCloudIntegrationsV1alphaAuthTokenResponse {
/**
* @return The token for the auth type.
*
*/
private String token;
/**
* @return Authentication type, e.g. "Basic", "Bearer", etc.
*
*/
private String type;
private GoogleCloudIntegrationsV1alphaAuthTokenResponse() {}
/**
* @return The token for the auth type.
*
*/
public String token() {
return this.token;
}
/**
* @return Authentication type, e.g. "Basic", "Bearer", etc.
*
*/
public String type() {
return this.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GoogleCloudIntegrationsV1alphaAuthTokenResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String token;
private String type;
public Builder() {}
public Builder(GoogleCloudIntegrationsV1alphaAuthTokenResponse defaults) {
Objects.requireNonNull(defaults);
this.token = defaults.token;
this.type = defaults.type;
}
@CustomType.Setter
public Builder token(String token) {
this.token = Objects.requireNonNull(token);
return this;
}
@CustomType.Setter
public Builder type(String type) {
this.type = Objects.requireNonNull(type);
return this;
}
public GoogleCloudIntegrationsV1alphaAuthTokenResponse build() {
final var o = new GoogleCloudIntegrationsV1alphaAuthTokenResponse();
o.token = token;
o.type = type;
return o;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy