/*
* Copyright (c) 2008-2012, Hazel Bilisim Ltd. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.hazelcast.config;
public class AwsConfig {
private boolean enabled = false;
private String accessKey;
private String secretKey;
private String region;
private String securityGroupName;
private String tagKey;
private String tagValue;
public void setSecurityGroupName(String securityGroupName) {
this.securityGroupName = securityGroupName;
}
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
public String getAccessKey() {
return accessKey;
}
public AwsConfig setAccessKey(String accessKey) {
this.accessKey = accessKey;
return this;
}
public String getSecretKey() {
return secretKey;
}
public AwsConfig setSecretKey(String secretKey) {
this.secretKey = secretKey;
return this;
}
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
@Override
public String toString() {
return "AwsConfig{" +
"enabled=" + enabled +
", accessKey='" + accessKey + '\'' +
", secretKey='" + secretKey + '\'' +
", region='" + region + '\'' +
", securityGroupName=" + securityGroupName +
'}';
}
public boolean isEnabled() {
return enabled;
}
public String getSecurityGroupName() {
return securityGroupName;
}
public void setTagKey(String tagKey) {
this.tagKey = tagKey;
}
public void setTagValue(String tagValue) {
this.tagValue = tagValue;
}
public String getTagKey() {
return tagKey;
}
public String getTagValue() {
return tagValue;
}
}