
com.pulumi.azurenative.awsconnector.outputs.RuntimePlatformResponse 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.awsconnector.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 RuntimePlatformResponse {
/**
* @return The CPU architecture. You can run your Linux tasks on an ARM-based platform by setting the value to ``ARM64``. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
*
*/
private @Nullable String cpuArchitecture;
/**
* @return The operating system.
*
*/
private @Nullable String operatingSystemFamily;
private RuntimePlatformResponse() {}
/**
* @return The CPU architecture. You can run your Linux tasks on an ARM-based platform by setting the value to ``ARM64``. This option is available for tasks that run on Linux Amazon EC2 instance or Linux containers on Fargate.
*
*/
public Optional cpuArchitecture() {
return Optional.ofNullable(this.cpuArchitecture);
}
/**
* @return The operating system.
*
*/
public Optional operatingSystemFamily() {
return Optional.ofNullable(this.operatingSystemFamily);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RuntimePlatformResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String cpuArchitecture;
private @Nullable String operatingSystemFamily;
public Builder() {}
public Builder(RuntimePlatformResponse defaults) {
Objects.requireNonNull(defaults);
this.cpuArchitecture = defaults.cpuArchitecture;
this.operatingSystemFamily = defaults.operatingSystemFamily;
}
@CustomType.Setter
public Builder cpuArchitecture(@Nullable String cpuArchitecture) {
this.cpuArchitecture = cpuArchitecture;
return this;
}
@CustomType.Setter
public Builder operatingSystemFamily(@Nullable String operatingSystemFamily) {
this.operatingSystemFamily = operatingSystemFamily;
return this;
}
public RuntimePlatformResponse build() {
final var _resultValue = new RuntimePlatformResponse();
_resultValue.cpuArchitecture = cpuArchitecture;
_resultValue.operatingSystemFamily = operatingSystemFamily;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy