com.pulumi.aws.ssoadmin.outputs.GetInstancesResult 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.ssoadmin.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 GetInstancesResult {
/**
* @return Set of Amazon Resource Names (ARNs) of the SSO Instances.
*
*/
private List arns;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
/**
* @return Set of identifiers of the identity stores connected to the SSO Instances.
*
*/
private List identityStoreIds;
private GetInstancesResult() {}
/**
* @return Set of Amazon Resource Names (ARNs) of the SSO Instances.
*
*/
public List arns() {
return this.arns;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
/**
* @return Set of identifiers of the identity stores connected to the SSO Instances.
*
*/
public List identityStoreIds() {
return this.identityStoreIds;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetInstancesResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private List arns;
private String id;
private List identityStoreIds;
public Builder() {}
public Builder(GetInstancesResult defaults) {
Objects.requireNonNull(defaults);
this.arns = defaults.arns;
this.id = defaults.id;
this.identityStoreIds = defaults.identityStoreIds;
}
@CustomType.Setter
public Builder arns(List arns) {
if (arns == null) {
throw new MissingRequiredPropertyException("GetInstancesResult", "arns");
}
this.arns = arns;
return this;
}
public Builder arns(String... arns) {
return arns(List.of(arns));
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetInstancesResult", "id");
}
this.id = id;
return this;
}
@CustomType.Setter
public Builder identityStoreIds(List identityStoreIds) {
if (identityStoreIds == null) {
throw new MissingRequiredPropertyException("GetInstancesResult", "identityStoreIds");
}
this.identityStoreIds = identityStoreIds;
return this;
}
public Builder identityStoreIds(String... identityStoreIds) {
return identityStoreIds(List.of(identityStoreIds));
}
public GetInstancesResult build() {
final var _resultValue = new GetInstancesResult();
_resultValue.arns = arns;
_resultValue.id = id;
_resultValue.identityStoreIds = identityStoreIds;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy