sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/GetUserS3CredentialResult.java
<gh_stars>0// *** 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.ovh.CloudProject.outputs;

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

@CustomType
public final class GetUserS3CredentialResult {
    private String accessKeyId;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return (Sensitive) the Secret Access Key
     * 
     */
    private String secretAccessKey;
    private String serviceName;
    private String userId;

    private GetUserS3CredentialResult() {}
    public String accessKeyId() {
        return this.accessKeyId;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return (Sensitive) the Secret Access Key
     * 
     */
    public String secretAccessKey() {
        return this.secretAccessKey;
    }
    public String serviceName() {
        return this.serviceName;
    }
    public String userId() {
        return this.userId;
    }

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

    public static Builder builder(GetUserS3CredentialResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String accessKeyId;
        private String id;
        private String secretAccessKey;
        private String serviceName;
        private String userId;
        public Builder() {}
        public Builder(GetUserS3CredentialResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.accessKeyId = defaults.accessKeyId;
    	      this.id = defaults.id;
    	      this.secretAccessKey = defaults.secretAccessKey;
    	      this.serviceName = defaults.serviceName;
    	      this.userId = defaults.userId;
        }

        @CustomType.Setter
        public Builder accessKeyId(String accessKeyId) {
            this.accessKeyId = Objects.requireNonNull(accessKeyId);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder secretAccessKey(String secretAccessKey) {
            this.secretAccessKey = Objects.requireNonNull(secretAccessKey);
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            this.serviceName = Objects.requireNonNull(serviceName);
            return this;
        }
        @CustomType.Setter
        public Builder userId(String userId) {
            this.userId = Objects.requireNonNull(userId);
            return this;
        }
        public GetUserS3CredentialResult build() {
            final var o = new GetUserS3CredentialResult();
            o.accessKeyId = accessKeyId;
            o.id = id;
            o.secretAccessKey = secretAccessKey;
            o.serviceName = serviceName;
            o.userId = userId;
            return o;
        }
    }
}
