com.pulumi.aws.ssoadmin.outputs.GetPrincipalApplicationAssignmentsApplicationAssignment 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.Objects;
@CustomType
public final class GetPrincipalApplicationAssignmentsApplicationAssignment {
/**
* @return ARN of the application.
*
*/
private String applicationArn;
/**
* @return An identifier for an object in IAM Identity Center, such as a user or group.
*
*/
private String principalId;
/**
* @return Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
*
*/
private String principalType;
private GetPrincipalApplicationAssignmentsApplicationAssignment() {}
/**
* @return ARN of the application.
*
*/
public String applicationArn() {
return this.applicationArn;
}
/**
* @return An identifier for an object in IAM Identity Center, such as a user or group.
*
*/
public String principalId() {
return this.principalId;
}
/**
* @return Entity type for which the assignment will be created. Valid values are `USER` or `GROUP`.
*
*/
public String principalType() {
return this.principalType;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetPrincipalApplicationAssignmentsApplicationAssignment defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String applicationArn;
private String principalId;
private String principalType;
public Builder() {}
public Builder(GetPrincipalApplicationAssignmentsApplicationAssignment defaults) {
Objects.requireNonNull(defaults);
this.applicationArn = defaults.applicationArn;
this.principalId = defaults.principalId;
this.principalType = defaults.principalType;
}
@CustomType.Setter
public Builder applicationArn(String applicationArn) {
if (applicationArn == null) {
throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "applicationArn");
}
this.applicationArn = applicationArn;
return this;
}
@CustomType.Setter
public Builder principalId(String principalId) {
if (principalId == null) {
throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "principalId");
}
this.principalId = principalId;
return this;
}
@CustomType.Setter
public Builder principalType(String principalType) {
if (principalType == null) {
throw new MissingRequiredPropertyException("GetPrincipalApplicationAssignmentsApplicationAssignment", "principalType");
}
this.principalType = principalType;
return this;
}
public GetPrincipalApplicationAssignmentsApplicationAssignment build() {
final var _resultValue = new GetPrincipalApplicationAssignmentsApplicationAssignment();
_resultValue.applicationArn = applicationArn;
_resultValue.principalId = principalId;
_resultValue.principalType = principalType;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy