com.pulumi.aws.ssoadmin.inputs.GetApplicationPlainArgs 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.ssoadmin.inputs;
import com.pulumi.aws.ssoadmin.inputs.GetApplicationPortalOption;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class GetApplicationPlainArgs extends com.pulumi.resources.InvokeArgs {
public static final GetApplicationPlainArgs Empty = new GetApplicationPlainArgs();
/**
* ARN of the application.
*
*/
@Import(name="applicationArn", required=true)
private String applicationArn;
/**
* @return ARN of the application.
*
*/
public String applicationArn() {
return this.applicationArn;
}
/**
* Options for the portal associated with an application. See the `aws.ssoadmin.Application` resource documentation. The attributes are the same.
*
*/
@Import(name="portalOptions")
private @Nullable List portalOptions;
/**
* @return Options for the portal associated with an application. See the `aws.ssoadmin.Application` resource documentation. The attributes are the same.
*
*/
public Optional> portalOptions() {
return Optional.ofNullable(this.portalOptions);
}
private GetApplicationPlainArgs() {}
private GetApplicationPlainArgs(GetApplicationPlainArgs $) {
this.applicationArn = $.applicationArn;
this.portalOptions = $.portalOptions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetApplicationPlainArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private GetApplicationPlainArgs $;
public Builder() {
$ = new GetApplicationPlainArgs();
}
public Builder(GetApplicationPlainArgs defaults) {
$ = new GetApplicationPlainArgs(Objects.requireNonNull(defaults));
}
/**
* @param applicationArn ARN of the application.
*
* @return builder
*
*/
public Builder applicationArn(String applicationArn) {
$.applicationArn = applicationArn;
return this;
}
/**
* @param portalOptions Options for the portal associated with an application. See the `aws.ssoadmin.Application` resource documentation. The attributes are the same.
*
* @return builder
*
*/
public Builder portalOptions(@Nullable List portalOptions) {
$.portalOptions = portalOptions;
return this;
}
/**
* @param portalOptions Options for the portal associated with an application. See the `aws.ssoadmin.Application` resource documentation. The attributes are the same.
*
* @return builder
*
*/
public Builder portalOptions(GetApplicationPortalOption... portalOptions) {
return portalOptions(List.of(portalOptions));
}
public GetApplicationPlainArgs build() {
if ($.applicationArn == null) {
throw new MissingRequiredPropertyException("GetApplicationPlainArgs", "applicationArn");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy