com.pulumi.alicloud.cloudsso.outputs.DirectorySamlIdentityProviderConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud 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.alicloud.cloudsso.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DirectorySamlIdentityProviderConfiguration {
/**
* @return Base64 encoded IdP metadata document. **NOTE:** If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter `sso_status` is `Enabled`, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter `sso_status` is `Disabled`, this parameter can be omitted, and the IdP Metadata will remain empty.
*
*/
private @Nullable String encodedMetadataDocument;
/**
* @return SAML SSO login enabled status. Valid values: `Enabled` or `Disabled`. Default to `Disabled`.
*
*/
private @Nullable String ssoStatus;
private DirectorySamlIdentityProviderConfiguration() {}
/**
* @return Base64 encoded IdP metadata document. **NOTE:** If the IdP Metadata has been uploaded, no update will be made if this parameter is not specified, otherwise the update will be made according to the parameter content. If IdP Metadata has not been uploaded, and the parameter `sso_status` is `Enabled`, this parameter must be provided. If the IdP Metadata has not been uploaded, and the parameter `sso_status` is `Disabled`, this parameter can be omitted, and the IdP Metadata will remain empty.
*
*/
public Optional encodedMetadataDocument() {
return Optional.ofNullable(this.encodedMetadataDocument);
}
/**
* @return SAML SSO login enabled status. Valid values: `Enabled` or `Disabled`. Default to `Disabled`.
*
*/
public Optional ssoStatus() {
return Optional.ofNullable(this.ssoStatus);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DirectorySamlIdentityProviderConfiguration defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String encodedMetadataDocument;
private @Nullable String ssoStatus;
public Builder() {}
public Builder(DirectorySamlIdentityProviderConfiguration defaults) {
Objects.requireNonNull(defaults);
this.encodedMetadataDocument = defaults.encodedMetadataDocument;
this.ssoStatus = defaults.ssoStatus;
}
@CustomType.Setter
public Builder encodedMetadataDocument(@Nullable String encodedMetadataDocument) {
this.encodedMetadataDocument = encodedMetadataDocument;
return this;
}
@CustomType.Setter
public Builder ssoStatus(@Nullable String ssoStatus) {
this.ssoStatus = ssoStatus;
return this;
}
public DirectorySamlIdentityProviderConfiguration build() {
final var _resultValue = new DirectorySamlIdentityProviderConfiguration();
_resultValue.encodedMetadataDocument = encodedMetadataDocument;
_resultValue.ssoStatus = ssoStatus;
return _resultValue;
}
}
}