All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.eventgrid.outputs.PartnerResponse Maven / Gradle / Ivy

There is a newer version: 2.78.0
Show newest version
// *** 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.eventgrid.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 PartnerResponse {
    /**
     * @return Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's
     * context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration.
     * If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
     * 
     */
    private @Nullable String authorizationExpirationTimeInUtc;
    /**
     * @return The partner name.
     * 
     */
    private @Nullable String partnerName;
    /**
     * @return The immutableId of the corresponding partner registration.
     * 
     */
    private @Nullable String partnerRegistrationImmutableId;

    private PartnerResponse() {}
    /**
     * @return Expiration time of the partner authorization. If this timer expires, any request from this partner to create, update or delete resources in subscriber's
     * context will fail. If specified, the allowed values are between 1 to the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration.
     * If not specified, the default value will be the value of defaultMaximumExpirationTimeInDays specified in PartnerConfiguration or 7 if this value is not specified.
     * 
     */
    public Optional authorizationExpirationTimeInUtc() {
        return Optional.ofNullable(this.authorizationExpirationTimeInUtc);
    }
    /**
     * @return The partner name.
     * 
     */
    public Optional partnerName() {
        return Optional.ofNullable(this.partnerName);
    }
    /**
     * @return The immutableId of the corresponding partner registration.
     * 
     */
    public Optional partnerRegistrationImmutableId() {
        return Optional.ofNullable(this.partnerRegistrationImmutableId);
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(PartnerResponse defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String authorizationExpirationTimeInUtc;
        private @Nullable String partnerName;
        private @Nullable String partnerRegistrationImmutableId;
        public Builder() {}
        public Builder(PartnerResponse defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.authorizationExpirationTimeInUtc = defaults.authorizationExpirationTimeInUtc;
    	      this.partnerName = defaults.partnerName;
    	      this.partnerRegistrationImmutableId = defaults.partnerRegistrationImmutableId;
        }

        @CustomType.Setter
        public Builder authorizationExpirationTimeInUtc(@Nullable String authorizationExpirationTimeInUtc) {

            this.authorizationExpirationTimeInUtc = authorizationExpirationTimeInUtc;
            return this;
        }
        @CustomType.Setter
        public Builder partnerName(@Nullable String partnerName) {

            this.partnerName = partnerName;
            return this;
        }
        @CustomType.Setter
        public Builder partnerRegistrationImmutableId(@Nullable String partnerRegistrationImmutableId) {

            this.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
            return this;
        }
        public PartnerResponse build() {
            final var _resultValue = new PartnerResponse();
            _resultValue.authorizationExpirationTimeInUtc = authorizationExpirationTimeInUtc;
            _resultValue.partnerName = partnerName;
            _resultValue.partnerRegistrationImmutableId = partnerRegistrationImmutableId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy