
io.cloudslang.content.utilities.entities.LocalPingInputs Maven / Gradle / Ivy
/*
* (c) Copyright 2017 EntIT Software LLC, a Micro Focus company, L.P.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Apache License v2.0 which accompany this distribution.
*
* The Apache License is available 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 io.cloudslang.content.utilities.entities;
/**
* Created by pinteae on 1/10/2018.
*/
public class LocalPingInputs {
private String targetHost;
private String packetSize;
private String packetCount;
private String timeout;
private String ipVersion;
public LocalPingInputs(LocalPingInputsBuilder localPingInputsBuilder) {
this.targetHost = localPingInputsBuilder.targetHost;
this.packetSize = localPingInputsBuilder.packetSize;
this.packetCount = localPingInputsBuilder.packetCount;
this.timeout = localPingInputsBuilder.timeout;
this.ipVersion = localPingInputsBuilder.ipVersion;
}
public String getTargetHost() {
return targetHost;
}
public String getPacketSize() {
return packetSize;
}
public String getPacketCount() {
return packetCount;
}
public String getTimeout() {
return timeout;
}
public String getIpVersion() {
return ipVersion;
}
public static class LocalPingInputsBuilder {
private String targetHost;
private String packetSize;
private String packetCount;
private String timeout;
private String ipVersion;
public LocalPingInputsBuilder targetHost(String targetHost) {
this.targetHost = targetHost;
return this;
}
public LocalPingInputsBuilder packetSize(String packetSize) {
this.packetSize = packetSize;
return this;
}
public LocalPingInputsBuilder packetCount(String packetCount) {
this.packetCount = packetCount;
return this;
}
public LocalPingInputsBuilder timeout(String timeout) {
this.timeout = timeout;
return this;
}
public LocalPingInputsBuilder ipVersion(String ipVersion) {
this.ipVersion = ipVersion;
return this;
}
public LocalPingInputs build() {
return new LocalPingInputs(this);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy