Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.azurenative.securityinsights.inputs.RfcConnectorArgs Maven / Gradle / Ivy
Go to download
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.securityinsights.inputs;
import com.pulumi.azurenative.securityinsights.enums.SapAuthenticationType;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* Describes the Rfc connector.
*
*/
public final class RfcConnectorArgs extends com.pulumi.resources.ResourceArgs {
public static final RfcConnectorArgs Empty = new RfcConnectorArgs();
/**
* FQDN, hostname, or IP address of the ABAP server.
*
*/
@Import(name="abapServerHost")
private @Nullable Output abapServerHost;
/**
* @return FQDN, hostname, or IP address of the ABAP server.
*
*/
public Optional> abapServerHost() {
return Optional.ofNullable(this.abapServerHost);
}
/**
* The authentication type to SAP.
*
*/
@Import(name="authenticationType")
private @Nullable Output> authenticationType;
/**
* @return The authentication type to SAP.
*
*/
public Optional>> authenticationType() {
return Optional.ofNullable(this.authenticationType);
}
/**
* Client number of the ABAP server.
* Example - 001
*
*/
@Import(name="client", required=true)
private Output client;
/**
* @return Client number of the ABAP server.
* Example - 001
*
*/
public Output client() {
return this.client;
}
/**
* The SAP code page used for character encoding.
* Example - 1100
*
*/
@Import(name="codePage")
private @Nullable Output codePage;
/**
* @return The SAP code page used for character encoding.
* Example - 1100
*
*/
public Optional> codePage() {
return Optional.ofNullable(this.codePage);
}
/**
* Logon group of the message server.
*
*/
@Import(name="group")
private @Nullable Output group;
/**
* @return Logon group of the message server.
*
*/
public Optional> group() {
return Optional.ofNullable(this.group);
}
/**
* FQDN, hostname, or IP address of the Message server.
*
*/
@Import(name="messageServerHost")
private @Nullable Output messageServerHost;
/**
* @return FQDN, hostname, or IP address of the Message server.
*
*/
public Optional> messageServerHost() {
return Optional.ofNullable(this.messageServerHost);
}
/**
* Port number, or service name (from /etc/services) of the message server.
*
*/
@Import(name="messageServerService")
private @Nullable Output messageServerService;
/**
* @return Port number, or service name (from /etc/services) of the message server.
*
*/
public Optional> messageServerService() {
return Optional.ofNullable(this.messageServerService);
}
/**
* SNC QOP.
* Options are 1, 2, 3, 8, 9.
*
*/
@Import(name="sncQop")
private @Nullable Output sncQop;
/**
* @return SNC QOP.
* Options are 1, 2, 3, 8, 9.
*
*/
public Optional> sncQop() {
return Optional.ofNullable(this.sncQop);
}
/**
* System ID of the ABAP server.
* Example - A4H
*
*/
@Import(name="systemId", required=true)
private Output systemId;
/**
* @return System ID of the ABAP server.
* Example - A4H
*
*/
public Output systemId() {
return this.systemId;
}
/**
* System number of the ABAP server.
*
*/
@Import(name="systemNumber", required=true)
private Output systemNumber;
/**
* @return System number of the ABAP server.
*
*/
public Output systemNumber() {
return this.systemNumber;
}
/**
* Represents the types of SAP systems.
* Expected value is 'Rfc'.
*
*/
@Import(name="type", required=true)
private Output type;
/**
* @return Represents the types of SAP systems.
* Expected value is 'Rfc'.
*
*/
public Output type() {
return this.type;
}
private RfcConnectorArgs() {}
private RfcConnectorArgs(RfcConnectorArgs $) {
this.abapServerHost = $.abapServerHost;
this.authenticationType = $.authenticationType;
this.client = $.client;
this.codePage = $.codePage;
this.group = $.group;
this.messageServerHost = $.messageServerHost;
this.messageServerService = $.messageServerService;
this.sncQop = $.sncQop;
this.systemId = $.systemId;
this.systemNumber = $.systemNumber;
this.type = $.type;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(RfcConnectorArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private RfcConnectorArgs $;
public Builder() {
$ = new RfcConnectorArgs();
}
public Builder(RfcConnectorArgs defaults) {
$ = new RfcConnectorArgs(Objects.requireNonNull(defaults));
}
/**
* @param abapServerHost FQDN, hostname, or IP address of the ABAP server.
*
* @return builder
*
*/
public Builder abapServerHost(@Nullable Output abapServerHost) {
$.abapServerHost = abapServerHost;
return this;
}
/**
* @param abapServerHost FQDN, hostname, or IP address of the ABAP server.
*
* @return builder
*
*/
public Builder abapServerHost(String abapServerHost) {
return abapServerHost(Output.of(abapServerHost));
}
/**
* @param authenticationType The authentication type to SAP.
*
* @return builder
*
*/
public Builder authenticationType(@Nullable Output> authenticationType) {
$.authenticationType = authenticationType;
return this;
}
/**
* @param authenticationType The authentication type to SAP.
*
* @return builder
*
*/
public Builder authenticationType(Either authenticationType) {
return authenticationType(Output.of(authenticationType));
}
/**
* @param authenticationType The authentication type to SAP.
*
* @return builder
*
*/
public Builder authenticationType(String authenticationType) {
return authenticationType(Either.ofLeft(authenticationType));
}
/**
* @param authenticationType The authentication type to SAP.
*
* @return builder
*
*/
public Builder authenticationType(SapAuthenticationType authenticationType) {
return authenticationType(Either.ofRight(authenticationType));
}
/**
* @param client Client number of the ABAP server.
* Example - 001
*
* @return builder
*
*/
public Builder client(Output client) {
$.client = client;
return this;
}
/**
* @param client Client number of the ABAP server.
* Example - 001
*
* @return builder
*
*/
public Builder client(String client) {
return client(Output.of(client));
}
/**
* @param codePage The SAP code page used for character encoding.
* Example - 1100
*
* @return builder
*
*/
public Builder codePage(@Nullable Output codePage) {
$.codePage = codePage;
return this;
}
/**
* @param codePage The SAP code page used for character encoding.
* Example - 1100
*
* @return builder
*
*/
public Builder codePage(String codePage) {
return codePage(Output.of(codePage));
}
/**
* @param group Logon group of the message server.
*
* @return builder
*
*/
public Builder group(@Nullable Output group) {
$.group = group;
return this;
}
/**
* @param group Logon group of the message server.
*
* @return builder
*
*/
public Builder group(String group) {
return group(Output.of(group));
}
/**
* @param messageServerHost FQDN, hostname, or IP address of the Message server.
*
* @return builder
*
*/
public Builder messageServerHost(@Nullable Output messageServerHost) {
$.messageServerHost = messageServerHost;
return this;
}
/**
* @param messageServerHost FQDN, hostname, or IP address of the Message server.
*
* @return builder
*
*/
public Builder messageServerHost(String messageServerHost) {
return messageServerHost(Output.of(messageServerHost));
}
/**
* @param messageServerService Port number, or service name (from /etc/services) of the message server.
*
* @return builder
*
*/
public Builder messageServerService(@Nullable Output messageServerService) {
$.messageServerService = messageServerService;
return this;
}
/**
* @param messageServerService Port number, or service name (from /etc/services) of the message server.
*
* @return builder
*
*/
public Builder messageServerService(String messageServerService) {
return messageServerService(Output.of(messageServerService));
}
/**
* @param sncQop SNC QOP.
* Options are 1, 2, 3, 8, 9.
*
* @return builder
*
*/
public Builder sncQop(@Nullable Output sncQop) {
$.sncQop = sncQop;
return this;
}
/**
* @param sncQop SNC QOP.
* Options are 1, 2, 3, 8, 9.
*
* @return builder
*
*/
public Builder sncQop(String sncQop) {
return sncQop(Output.of(sncQop));
}
/**
* @param systemId System ID of the ABAP server.
* Example - A4H
*
* @return builder
*
*/
public Builder systemId(Output systemId) {
$.systemId = systemId;
return this;
}
/**
* @param systemId System ID of the ABAP server.
* Example - A4H
*
* @return builder
*
*/
public Builder systemId(String systemId) {
return systemId(Output.of(systemId));
}
/**
* @param systemNumber System number of the ABAP server.
*
* @return builder
*
*/
public Builder systemNumber(Output systemNumber) {
$.systemNumber = systemNumber;
return this;
}
/**
* @param systemNumber System number of the ABAP server.
*
* @return builder
*
*/
public Builder systemNumber(String systemNumber) {
return systemNumber(Output.of(systemNumber));
}
/**
* @param type Represents the types of SAP systems.
* Expected value is 'Rfc'.
*
* @return builder
*
*/
public Builder type(Output type) {
$.type = type;
return this;
}
/**
* @param type Represents the types of SAP systems.
* Expected value is 'Rfc'.
*
* @return builder
*
*/
public Builder type(String type) {
return type(Output.of(type));
}
public RfcConnectorArgs build() {
if ($.client == null) {
throw new MissingRequiredPropertyException("RfcConnectorArgs", "client");
}
if ($.systemId == null) {
throw new MissingRequiredPropertyException("RfcConnectorArgs", "systemId");
}
if ($.systemNumber == null) {
throw new MissingRequiredPropertyException("RfcConnectorArgs", "systemNumber");
}
$.type = Codegen.stringProp("type").output().arg($.type).require();
return $;
}
}
}