
com.pulumi.azurenative.security.outputs.AwsCredsAuthenticationDetailsPropertiesResponse 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.security.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 AwsCredsAuthenticationDetailsPropertiesResponse {
/**
* @return The ID of the cloud account
*
*/
private String accountId;
/**
* @return State of the multi-cloud connector
*
*/
private String authenticationProvisioningState;
/**
* @return Connect to your cloud account, for AWS use either account credentials or role-based authentication. For GCP use account organization credentials.
* Expected value is 'awsCreds'.
*
*/
private String authenticationType;
/**
* @return Public key element of the AWS credential object (write only)
*
*/
private String awsAccessKeyId;
/**
* @return Secret key element of the AWS credential object (write only)
*
*/
private String awsSecretAccessKey;
/**
* @return The permissions detected in the cloud account.
*
*/
private List grantedPermissions;
private AwsCredsAuthenticationDetailsPropertiesResponse() {}
/**
* @return The ID of the cloud account
*
*/
public String accountId() {
return this.accountId;
}
/**
* @return State of the multi-cloud connector
*
*/
public String authenticationProvisioningState() {
return this.authenticationProvisioningState;
}
/**
* @return Connect to your cloud account, for AWS use either account credentials or role-based authentication. For GCP use account organization credentials.
* Expected value is 'awsCreds'.
*
*/
public String authenticationType() {
return this.authenticationType;
}
/**
* @return Public key element of the AWS credential object (write only)
*
*/
public String awsAccessKeyId() {
return this.awsAccessKeyId;
}
/**
* @return Secret key element of the AWS credential object (write only)
*
*/
public String awsSecretAccessKey() {
return this.awsSecretAccessKey;
}
/**
* @return The permissions detected in the cloud account.
*
*/
public List grantedPermissions() {
return this.grantedPermissions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(AwsCredsAuthenticationDetailsPropertiesResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountId;
private String authenticationProvisioningState;
private String authenticationType;
private String awsAccessKeyId;
private String awsSecretAccessKey;
private List grantedPermissions;
public Builder() {}
public Builder(AwsCredsAuthenticationDetailsPropertiesResponse defaults) {
Objects.requireNonNull(defaults);
this.accountId = defaults.accountId;
this.authenticationProvisioningState = defaults.authenticationProvisioningState;
this.authenticationType = defaults.authenticationType;
this.awsAccessKeyId = defaults.awsAccessKeyId;
this.awsSecretAccessKey = defaults.awsSecretAccessKey;
this.grantedPermissions = defaults.grantedPermissions;
}
@CustomType.Setter
public Builder accountId(String accountId) {
if (accountId == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "accountId");
}
this.accountId = accountId;
return this;
}
@CustomType.Setter
public Builder authenticationProvisioningState(String authenticationProvisioningState) {
if (authenticationProvisioningState == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "authenticationProvisioningState");
}
this.authenticationProvisioningState = authenticationProvisioningState;
return this;
}
@CustomType.Setter
public Builder authenticationType(String authenticationType) {
if (authenticationType == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "authenticationType");
}
this.authenticationType = authenticationType;
return this;
}
@CustomType.Setter
public Builder awsAccessKeyId(String awsAccessKeyId) {
if (awsAccessKeyId == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "awsAccessKeyId");
}
this.awsAccessKeyId = awsAccessKeyId;
return this;
}
@CustomType.Setter
public Builder awsSecretAccessKey(String awsSecretAccessKey) {
if (awsSecretAccessKey == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "awsSecretAccessKey");
}
this.awsSecretAccessKey = awsSecretAccessKey;
return this;
}
@CustomType.Setter
public Builder grantedPermissions(List grantedPermissions) {
if (grantedPermissions == null) {
throw new MissingRequiredPropertyException("AwsCredsAuthenticationDetailsPropertiesResponse", "grantedPermissions");
}
this.grantedPermissions = grantedPermissions;
return this;
}
public Builder grantedPermissions(String... grantedPermissions) {
return grantedPermissions(List.of(grantedPermissions));
}
public AwsCredsAuthenticationDetailsPropertiesResponse build() {
final var _resultValue = new AwsCredsAuthenticationDetailsPropertiesResponse();
_resultValue.accountId = accountId;
_resultValue.authenticationProvisioningState = authenticationProvisioningState;
_resultValue.authenticationType = authenticationType;
_resultValue.awsAccessKeyId = awsAccessKeyId;
_resultValue.awsSecretAccessKey = awsSecretAccessKey;
_resultValue.grantedPermissions = grantedPermissions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy