DockerHubEnvironmentData Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. EnvironmentData - com.
azure. resourcemanager. security. models. DockerHubEnvironmentData
- com.
- com.
public final class DockerHubEnvironmentData
extends EnvironmentData
The Docker Hub connector environment data.
Constructor Summary
| Constructor | Description |
|---|---|
| DockerHubEnvironmentData() |
Creates an instance of Docker |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Authentication |
authentication()
Get the authentication property: The Docker Hub organization authentication details. |
|
Environment |
environmentType()
Get the environment |
|
static
Docker |
fromJson(JsonReader jsonReader)
Reads an instance of Docker |
| Long |
scanInterval()
Get the scan |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Docker |
withAuthentication(Authentication authentication)
Set the authentication property: The Docker Hub organization authentication details. |
|
Docker |
withScanInterval(Long scanInterval)
Set the scan |
Methods inherited from EnvironmentData
Methods inherited from java.lang.Object
Constructor Details
DockerHubEnvironmentData
public DockerHubEnvironmentData()
Creates an instance of DockerHubEnvironmentData class.
Method Details
authentication
public Authentication authentication()
Get the authentication property: The Docker Hub organization authentication details.
Returns:
environmentType
public EnvironmentType environmentType()
Get the environmentType property: The type of the environment data.
Overrides:
DockerHubEnvironmentData.environmentType()Returns:
fromJson
public static DockerHubEnvironmentData fromJson(JsonReader jsonReader)
Reads an instance of DockerHubEnvironmentData from the JsonReader.
Parameters:
Returns:
Throws:
scanInterval
public Long scanInterval()
Get the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DockerHubEnvironmentData.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DockerHubEnvironmentData.validate()withAuthentication
public DockerHubEnvironmentData withAuthentication(Authentication authentication)
Set the authentication property: The Docker Hub organization authentication details.
Parameters:
Returns:
withScanInterval
public DockerHubEnvironmentData withScanInterval(Long scanInterval)
Set the scanInterval property: Scan interval in hours (value should be between 1-hour to 24-hours).
Parameters:
Returns: