Package kubevirt.io
Class V1ServiceAccountVolumeSource
- java.lang.Object
-
- kubevirt.io.V1ServiceAccountVolumeSource
-
@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2019-11-10T14:44:51.030+02:00") public class V1ServiceAccountVolumeSource extends java.lang.Object
ServiceAccountVolumeSource adapts a ServiceAccount into a volume.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
serviceAccountName
-
Constructor Summary
Constructors Constructor Description V1ServiceAccountVolumeSource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getServiceAccountName()
Name of the service account in the pod's namespace to use.int
hashCode()
V1ServiceAccountVolumeSource
serviceAccountName(java.lang.String serviceAccountName)
void
setServiceAccountName(java.lang.String serviceAccountName)
private java.lang.String
toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).java.lang.String
toString()
-
-
-
Method Detail
-
serviceAccountName
public V1ServiceAccountVolumeSource serviceAccountName(java.lang.String serviceAccountName)
-
getServiceAccountName
public java.lang.String getServiceAccountName()
Name of the service account in the pod's namespace to use. More info: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/- Returns:
- serviceAccountName
-
setServiceAccountName
public void setServiceAccountName(java.lang.String serviceAccountName)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toIndentedString
private java.lang.String toIndentedString(java.lang.Object o)
Convert the given object to string with each line indented by 4 spaces (except the first line).
-
-