com.pulumi.aws.cognito.outputs.GetIdentityPoolCognitoIdentityProvider 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.aws.cognito.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetIdentityPoolCognitoIdentityProvider {
private String clientId;
private String providerName;
private Boolean serverSideTokenCheck;
private GetIdentityPoolCognitoIdentityProvider() {}
public String clientId() {
return this.clientId;
}
public String providerName() {
return this.providerName;
}
public Boolean serverSideTokenCheck() {
return this.serverSideTokenCheck;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetIdentityPoolCognitoIdentityProvider defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String clientId;
private String providerName;
private Boolean serverSideTokenCheck;
public Builder() {}
public Builder(GetIdentityPoolCognitoIdentityProvider defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.providerName = defaults.providerName;
this.serverSideTokenCheck = defaults.serverSideTokenCheck;
}
@CustomType.Setter
public Builder clientId(String clientId) {
if (clientId == null) {
throw new MissingRequiredPropertyException("GetIdentityPoolCognitoIdentityProvider", "clientId");
}
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder providerName(String providerName) {
if (providerName == null) {
throw new MissingRequiredPropertyException("GetIdentityPoolCognitoIdentityProvider", "providerName");
}
this.providerName = providerName;
return this;
}
@CustomType.Setter
public Builder serverSideTokenCheck(Boolean serverSideTokenCheck) {
if (serverSideTokenCheck == null) {
throw new MissingRequiredPropertyException("GetIdentityPoolCognitoIdentityProvider", "serverSideTokenCheck");
}
this.serverSideTokenCheck = serverSideTokenCheck;
return this;
}
public GetIdentityPoolCognitoIdentityProvider build() {
final var _resultValue = new GetIdentityPoolCognitoIdentityProvider();
_resultValue.clientId = clientId;
_resultValue.providerName = providerName;
_resultValue.serverSideTokenCheck = serverSideTokenCheck;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy