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

com.pulumi.meraki.organizations.inputs.BrandingPoliciesCustomLogoImageArgs Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.organizations.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.meraki.organizations.inputs.BrandingPoliciesCustomLogoImagePreviewArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class BrandingPoliciesCustomLogoImageArgs extends com.pulumi.resources.ResourceArgs {

    public static final BrandingPoliciesCustomLogoImageArgs Empty = new BrandingPoliciesCustomLogoImageArgs();

    /**
     * The file contents (a base 64 encoded string) of your new logo.
     * 
     */
    @Import(name="contents")
    private @Nullable Output contents;

    /**
     * @return The file contents (a base 64 encoded string) of your new logo.
     * 
     */
    public Optional> contents() {
        return Optional.ofNullable(this.contents);
    }

    /**
     * The format of the encoded contents.  Supported formats are 'png', 'gif', and jpg'.
     * 
     */
    @Import(name="format")
    private @Nullable Output format;

    /**
     * @return The format of the encoded contents.  Supported formats are 'png', 'gif', and jpg'.
     * 
     */
    public Optional> format() {
        return Optional.ofNullable(this.format);
    }

    /**
     * Preview of the image
     * 
     */
    @Import(name="preview")
    private @Nullable Output preview;

    /**
     * @return Preview of the image
     * 
     */
    public Optional> preview() {
        return Optional.ofNullable(this.preview);
    }

    private BrandingPoliciesCustomLogoImageArgs() {}

    private BrandingPoliciesCustomLogoImageArgs(BrandingPoliciesCustomLogoImageArgs $) {
        this.contents = $.contents;
        this.format = $.format;
        this.preview = $.preview;
    }

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

    public static final class Builder {
        private BrandingPoliciesCustomLogoImageArgs $;

        public Builder() {
            $ = new BrandingPoliciesCustomLogoImageArgs();
        }

        public Builder(BrandingPoliciesCustomLogoImageArgs defaults) {
            $ = new BrandingPoliciesCustomLogoImageArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param contents The file contents (a base 64 encoded string) of your new logo.
         * 
         * @return builder
         * 
         */
        public Builder contents(@Nullable Output contents) {
            $.contents = contents;
            return this;
        }

        /**
         * @param contents The file contents (a base 64 encoded string) of your new logo.
         * 
         * @return builder
         * 
         */
        public Builder contents(String contents) {
            return contents(Output.of(contents));
        }

        /**
         * @param format The format of the encoded contents.  Supported formats are 'png', 'gif', and jpg'.
         * 
         * @return builder
         * 
         */
        public Builder format(@Nullable Output format) {
            $.format = format;
            return this;
        }

        /**
         * @param format The format of the encoded contents.  Supported formats are 'png', 'gif', and jpg'.
         * 
         * @return builder
         * 
         */
        public Builder format(String format) {
            return format(Output.of(format));
        }

        /**
         * @param preview Preview of the image
         * 
         * @return builder
         * 
         */
        public Builder preview(@Nullable Output preview) {
            $.preview = preview;
            return this;
        }

        /**
         * @param preview Preview of the image
         * 
         * @return builder
         * 
         */
        public Builder preview(BrandingPoliciesCustomLogoImagePreviewArgs preview) {
            return preview(Output.of(preview));
        }

        public BrandingPoliciesCustomLogoImageArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy