public static class InstanceOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
InstanceOptions.Builder |
areLegacyImdsEndpointsDisabled(Boolean areLegacyImdsEndpointsDisabled)
Whether to disable the legacy (/v1) instance metadata service endpoints.
|
InstanceOptions |
build() |
InstanceOptions.Builder |
copy(InstanceOptions model) |
public InstanceOptions.Builder areLegacyImdsEndpointsDisabled(Boolean areLegacyImdsEndpointsDisabled)
Whether to disable the legacy (/v1) instance metadata service endpoints. Customers who have migrated to /v2 should set this to true for added security. Default is false.
areLegacyImdsEndpointsDisabled
- the value to setpublic InstanceOptions build()
public InstanceOptions.Builder copy(InstanceOptions model)
Copyright © 2016–2024. All rights reserved.