
com.ovhcloud.pulumi.ovh.CloudProject.outputs.GetUserS3CredentialsResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-ovh Show documentation
Show all versions of pulumi-ovh Show documentation
A Pulumi package for creating and managing OVH resources.
// *** 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.ovhcloud.pulumi.ovh.CloudProject.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
@CustomType
public final class GetUserS3CredentialsResult {
/**
* @return The list of the Access Key ID associated with this user.
*
*/
private List accessKeyIds;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private String serviceName;
private String userId;
private GetUserS3CredentialsResult() {}
/**
* @return The list of the Access Key ID associated with this user.
*
*/
public List accessKeyIds() {
return this.accessKeyIds;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public String serviceName() {
return this.serviceName;
}
public String userId() {
return this.userId;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetUserS3CredentialsResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List accessKeyIds;
private String id;
private String serviceName;
private String userId;
public Builder() {}
public Builder(GetUserS3CredentialsResult defaults) {
Objects.requireNonNull(defaults);
this.accessKeyIds = defaults.accessKeyIds;
this.id = defaults.id;
this.serviceName = defaults.serviceName;
this.userId = defaults.userId;
}
@CustomType.Setter
public Builder accessKeyIds(List accessKeyIds) {
if (accessKeyIds == null) {
throw new MissingRequiredPropertyException("GetUserS3CredentialsResult", "accessKeyIds");
}
this.accessKeyIds = accessKeyIds;
return this;
}
public Builder accessKeyIds(String... accessKeyIds) {
return accessKeyIds(List.of(accessKeyIds));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetUserS3CredentialsResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder serviceName(String serviceName) {
if (serviceName == null) {
throw new MissingRequiredPropertyException("GetUserS3CredentialsResult", "serviceName");
}
this.serviceName = serviceName;
return this;
}
@CustomType.Setter
public Builder userId(String userId) {
if (userId == null) {
throw new MissingRequiredPropertyException("GetUserS3CredentialsResult", "userId");
}
this.userId = userId;
return this;
}
public GetUserS3CredentialsResult build() {
final var _resultValue = new GetUserS3CredentialsResult();
_resultValue.accessKeyIds = accessKeyIds;
_resultValue.id = id;
_resultValue.serviceName = serviceName;
_resultValue.userId = userId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy