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

com.pulumi.azurenative.botservice.outputs.LineRegistrationResponse Maven / Gradle / Ivy

There is a newer version: 2.82.0
Show newest version
// *** 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.azurenative.botservice.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class LineRegistrationResponse {
    /**
     * @return Access token for the line channel registration
     * 
     */
    private @Nullable String channelAccessToken;
    /**
     * @return Secret for the line channel registration
     * 
     */
    private @Nullable String channelSecret;
    /**
     * @return Id generated for the line channel registration
     * 
     */
    private String generatedId;

    private LineRegistrationResponse() {}
    /**
     * @return Access token for the line channel registration
     * 
     */
    public Optional channelAccessToken() {
        return Optional.ofNullable(this.channelAccessToken);
    }
    /**
     * @return Secret for the line channel registration
     * 
     */
    public Optional channelSecret() {
        return Optional.ofNullable(this.channelSecret);
    }
    /**
     * @return Id generated for the line channel registration
     * 
     */
    public String generatedId() {
        return this.generatedId;
    }

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

    public static Builder builder(LineRegistrationResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String channelAccessToken;
        private @Nullable String channelSecret;
        private String generatedId;
        public Builder() {}
        public Builder(LineRegistrationResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.channelAccessToken = defaults.channelAccessToken;
    	      this.channelSecret = defaults.channelSecret;
    	      this.generatedId = defaults.generatedId;
        }

        @CustomType.Setter
        public Builder channelAccessToken(@Nullable String channelAccessToken) {

            this.channelAccessToken = channelAccessToken;
            return this;
        }
        @CustomType.Setter
        public Builder channelSecret(@Nullable String channelSecret) {

            this.channelSecret = channelSecret;
            return this;
        }
        @CustomType.Setter
        public Builder generatedId(String generatedId) {
            if (generatedId == null) {
              throw new MissingRequiredPropertyException("LineRegistrationResponse", "generatedId");
            }
            this.generatedId = generatedId;
            return this;
        }
        public LineRegistrationResponse build() {
            final var _resultValue = new LineRegistrationResponse();
            _resultValue.channelAccessToken = channelAccessToken;
            _resultValue.channelSecret = channelSecret;
            _resultValue.generatedId = generatedId;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy