com.pulumi.aws.route53.outputs.GetProfilesProfilesResult 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.route53.outputs;
import com.pulumi.aws.route53.outputs.GetProfilesProfilesProfile;
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 GetProfilesProfilesResult {
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return List of Profiles.
*
*/
private List profiles;
private GetProfilesProfilesResult() {}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return List of Profiles.
*
*/
public List profiles() {
return this.profiles;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetProfilesProfilesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String id;
private List profiles;
public Builder() {}
public Builder(GetProfilesProfilesResult defaults) {
Objects.requireNonNull(defaults);
this.id = defaults.id;
this.profiles = defaults.profiles;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetProfilesProfilesResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder profiles(List profiles) {
if (profiles == null) {
throw new MissingRequiredPropertyException("GetProfilesProfilesResult", "profiles");
}
this.profiles = profiles;
return this;
}
public Builder profiles(GetProfilesProfilesProfile... profiles) {
return profiles(List.of(profiles));
}
public GetProfilesProfilesResult build() {
final var _resultValue = new GetProfilesProfilesResult();
_resultValue.id = id;
_resultValue.profiles = profiles;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy