| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPodSpec.Builder
DefaultPodSpec builder static inner class. |
| Constructor and Description |
|---|
DefaultPodSpec(java.lang.String type,
java.lang.String user,
java.lang.Integer count,
java.lang.String image,
java.util.Collection<NetworkSpec> networks,
java.util.Collection<RLimitSpec> rlimits,
java.util.Collection<java.net.URI> uris,
java.util.List<TaskSpec> tasks,
PlacementRule placementRule,
java.util.Collection<VolumeSpec> volumes,
java.lang.String preReservedRole,
java.util.Collection<SecretSpec> secrets,
java.lang.Boolean sharePidNamespace,
java.lang.Boolean allowDecommission) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.lang.Boolean |
getAllowDecommission() |
java.lang.Integer |
getCount() |
java.util.Optional<java.lang.String> |
getImage() |
java.util.Collection<NetworkSpec> |
getNetworks() |
java.util.Optional<PlacementRule> |
getPlacementRule() |
java.lang.String |
getPreReservedRole() |
java.util.Collection<RLimitSpec> |
getRLimits() |
java.util.Collection<SecretSpec> |
getSecrets() |
java.lang.Boolean |
getSharePidNamespace() |
java.util.List<TaskSpec> |
getTasks() |
java.lang.String |
getType() |
java.util.Collection<java.net.URI> |
getUris() |
java.util.Optional<java.lang.String> |
getUser() |
java.util.Collection<VolumeSpec> |
getVolumes() |
int |
hashCode() |
static DefaultPodSpec.Builder |
newBuilder(PodSpec copy) |
static DefaultPodSpec.Builder |
newBuilder(java.lang.String executorUri) |
java.lang.String |
toString() |
public DefaultPodSpec(java.lang.String type,
java.lang.String user,
java.lang.Integer count,
java.lang.String image,
java.util.Collection<NetworkSpec> networks,
java.util.Collection<RLimitSpec> rlimits,
java.util.Collection<java.net.URI> uris,
java.util.List<TaskSpec> tasks,
PlacementRule placementRule,
java.util.Collection<VolumeSpec> volumes,
java.lang.String preReservedRole,
java.util.Collection<SecretSpec> secrets,
java.lang.Boolean sharePidNamespace,
java.lang.Boolean allowDecommission)
public static DefaultPodSpec.Builder newBuilder(java.lang.String executorUri)
public static DefaultPodSpec.Builder newBuilder(PodSpec copy)
public java.util.Optional<java.lang.String> getUser()
public java.lang.Boolean getAllowDecommission()
getAllowDecommission in interface PodSpecpublic java.util.Optional<java.lang.String> getImage()
public java.util.Collection<NetworkSpec> getNetworks()
getNetworks in interface PodSpecpublic java.util.Collection<RLimitSpec> getRLimits()
getRLimits in interface PodSpecpublic java.util.Collection<java.net.URI> getUris()
public java.util.Optional<PlacementRule> getPlacementRule()
getPlacementRule in interface PodSpecpublic java.util.Collection<VolumeSpec> getVolumes()
getVolumes in interface PodSpecpublic java.lang.String getPreReservedRole()
getPreReservedRole in interface PodSpecpublic java.util.Collection<SecretSpec> getSecrets()
getSecrets in interface PodSpecpublic java.lang.Boolean getSharePidNamespace()
getSharePidNamespace in interface PodSpecpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object