com.pulumi.aws.organizations.outputs.GetDelegatedServicesResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.pulumi.aws.organizations.outputs;
import com.pulumi.aws.organizations.outputs.GetDelegatedServicesDelegatedService;
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 GetDelegatedServicesResult {
private String accountId;
/**
* @return Services for which the account is a delegated administrator, which have the following attributes:
*
*/
private List delegatedServices;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private GetDelegatedServicesResult() {}
public String accountId() {
return this.accountId;
}
/**
* @return Services for which the account is a delegated administrator, which have the following attributes:
*
*/
public List delegatedServices() {
return this.delegatedServices;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDelegatedServicesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountId;
private List delegatedServices;
private String id;
public Builder() {}
public Builder(GetDelegatedServicesResult defaults) {
Objects.requireNonNull(defaults);
this.accountId = defaults.accountId;
this.delegatedServices = defaults.delegatedServices;
this.id = defaults.id;
}
@CustomType.Setter
public Builder accountId(String accountId) {
if (accountId == null) {
throw new MissingRequiredPropertyException("GetDelegatedServicesResult", "accountId");
}
this.accountId = accountId;
return this;
}
@CustomType.Setter
public Builder delegatedServices(List delegatedServices) {
if (delegatedServices == null) {
throw new MissingRequiredPropertyException("GetDelegatedServicesResult", "delegatedServices");
}
this.delegatedServices = delegatedServices;
return this;
}
public Builder delegatedServices(GetDelegatedServicesDelegatedService... delegatedServices) {
return delegatedServices(List.of(delegatedServices));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetDelegatedServicesResult", "id");
}
this.id = id;
return this;
}
public GetDelegatedServicesResult build() {
final var _resultValue = new GetDelegatedServicesResult();
_resultValue.accountId = accountId;
_resultValue.delegatedServices = delegatedServices;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy