com.softlayer.api.service.resource.group.member.Hardware Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.resource.group.member;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.resource.group.Member;
import com.softlayer.api.service.resource.group.member.Attribute;
/**
* @see SoftLayer_Resource_Group_Member_Hardware
*/
@ApiType("SoftLayer_Resource_Group_Member_Hardware")
public class Hardware extends Member {
/**
* A resource group member's associated hardware.
*/
@ApiProperty
protected com.softlayer.api.service.Hardware resource;
public com.softlayer.api.service.Hardware getResource() {
return resource;
}
public void setResource(com.softlayer.api.service.Hardware resource) {
this.resource = resource;
}
/**
* A resource group hardware member's associated server arbiter-only state.
*/
@ApiProperty
protected Attribute serverArbiterOnly;
public Attribute getServerArbiterOnly() {
return serverArbiterOnly;
}
public void setServerArbiterOnly(Attribute serverArbiterOnly) {
this.serverArbiterOnly = serverArbiterOnly;
}
/**
* A resource group hardware member's associated server hidden state.
*/
@ApiProperty
protected Attribute serverHidden;
public Attribute getServerHidden() {
return serverHidden;
}
public void setServerHidden(Attribute serverHidden) {
this.serverHidden = serverHidden;
}
/**
* A resource group hardware member's associated server priority.
*/
@ApiProperty
protected Attribute serverPriority;
public Attribute getServerPriority() {
return serverPriority;
}
public void setServerPriority(Attribute serverPriority) {
this.serverPriority = serverPriority;
}
/**
* A resource group hardware member's associated server slave delay (in seconds).
*/
@ApiProperty
protected Attribute serverSlaveDelay;
public Attribute getServerSlaveDelay() {
return serverSlaveDelay;
}
public void setServerSlaveDelay(Attribute serverSlaveDelay) {
this.serverSlaveDelay = serverSlaveDelay;
}
/**
* A resource group hardware member's associated server tags (in JSON format).
*/
@ApiProperty
protected Attribute serverTags;
public Attribute getServerTags() {
return serverTags;
}
public void setServerTags(Attribute serverTags) {
this.serverTags = serverTags;
}
/**
* A resource group hardware member's associated server vote count.
*/
@ApiProperty
protected Attribute serverVotes;
public Attribute getServerVotes() {
return serverVotes;
}
public void setServerVotes(Attribute serverVotes) {
this.serverVotes = serverVotes;
}
public static class Mask extends com.softlayer.api.service.resource.group.Member.Mask {
public com.softlayer.api.service.Hardware.Mask resource() {
return withSubMask("resource", com.softlayer.api.service.Hardware.Mask.class);
}
public Attribute.Mask serverArbiterOnly() {
return withSubMask("serverArbiterOnly", Attribute.Mask.class);
}
public Attribute.Mask serverHidden() {
return withSubMask("serverHidden", Attribute.Mask.class);
}
public Attribute.Mask serverPriority() {
return withSubMask("serverPriority", Attribute.Mask.class);
}
public Attribute.Mask serverSlaveDelay() {
return withSubMask("serverSlaveDelay", Attribute.Mask.class);
}
public Attribute.Mask serverTags() {
return withSubMask("serverTags", Attribute.Mask.class);
}
public Attribute.Mask serverVotes() {
return withSubMask("serverVotes", Attribute.Mask.class);
}
}
}