
com.pulumi.azurenative.compute.outputs.RunCommandManagedIdentityResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.compute.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 RunCommandManagedIdentityResponse {
/**
* @return Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
*
*/
private @Nullable String clientId;
/**
* @return Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
*
*/
private @Nullable String objectId;
private RunCommandManagedIdentityResponse() {}
/**
* @return Client Id (GUID value) of the user-assigned managed identity. ObjectId should not be used if this is provided.
*
*/
public Optional clientId() {
return Optional.ofNullable(this.clientId);
}
/**
* @return Object Id (GUID value) of the user-assigned managed identity. ClientId should not be used if this is provided.
*
*/
public Optional objectId() {
return Optional.ofNullable(this.objectId);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RunCommandManagedIdentityResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String clientId;
private @Nullable String objectId;
public Builder() {}
public Builder(RunCommandManagedIdentityResponse defaults) {
Objects.requireNonNull(defaults);
this.clientId = defaults.clientId;
this.objectId = defaults.objectId;
}
@CustomType.Setter
public Builder clientId(@Nullable String clientId) {
this.clientId = clientId;
return this;
}
@CustomType.Setter
public Builder objectId(@Nullable String objectId) {
this.objectId = objectId;
return this;
}
public RunCommandManagedIdentityResponse build() {
final var _resultValue = new RunCommandManagedIdentityResponse();
_resultValue.clientId = clientId;
_resultValue.objectId = objectId;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy