protected void ValidateMandatoryOptions(IOfferAwsOperationsOptionValues options) { if (string.IsNullOrWhiteSpace(options.PrivateKeyFileLocation)) { throw new OperationConfigException(string.Format("Missing value for PrivateKeyFileLocation. Please specify in code or in config.")); } if (options.RegionEndpoint == null) { throw new OperationConfigException(string.Format("Missing value for Region. Please specify in code or in config.")); } if (options.Credentials == null) { throw new OperationConfigException(string.Format("Missing value for Credentials. Please specify in code or in config.")); } }
public AwsIdentifiedOperation(IOfferAwsOperationsOptionValues options) { this._options = options; }