Modifier and Type | Method and Description |
---|---|
static VPC |
VPC.create(String id,
VPC.State state,
String cidrBlock,
String dhcpOptionsId,
VPC.InstanceTenancy instanceTenancy,
Boolean isDefault,
Map<String,String> tags) |
Modifier and Type | Method and Description |
---|---|
static DropletCreate |
DropletCreate.create(Droplet droplet,
DropletCreate.Links links) |
static Action |
Action.create(int id,
Action.Status status,
String type,
Date startedAt,
Date completedAt,
long resourceId,
String resourceType,
Region region,
String regionSlug) |
static Droplet |
Droplet.create(int id,
String name,
int memory,
int vcpus,
int disk,
boolean locked,
Date createdAt,
Droplet.Status status,
List<Integer> backupIds,
List<Integer> snapshotIds,
List<String> features,
Region region,
Image image,
Size size,
String sizeSlug,
Networks network,
Kernel kernel) |
static Kernel |
Kernel.create(int id,
String name,
String version) |
static Key |
Key.create(int id,
String name,
String fingerprint,
PublicKey publicKey) |
static Backup |
Backup.create(int id,
String name,
String distribution,
String slug,
boolean isPublic,
List<String> regions,
int minDiskSize) |
static Image |
Image.create(int id,
String name,
String type,
String distribution,
String slug,
boolean isPublic,
List<String> regions,
Date createdAt) |
static Snapshot |
Snapshot.create(int id,
String name,
String type,
String distribution,
String slug,
boolean isPublic,
List<String> regions,
int minDiskSize,
Date createdAt) |
static DropletCreate.Links.ActionLink |
DropletCreate.Links.ActionLink.create(int id,
String rel,
URI href) |
static DropletCreate.Links |
DropletCreate.Links.create(List<DropletCreate.Links.ActionLink> actions) |
static Networks |
Networks.create(List<Networks.Address> ipv4,
List<Networks.Address> ipv6) |
static Size |
Size.create(String slug,
boolean available,
float transfer,
float priceMonthly,
float priceHourly,
int memory,
int vcpus,
int disk,
List<String> regions) |
static Region |
Region.create(String slug,
String name,
List<String> sizes,
boolean available,
List<String> features) |
static Networks.Address |
Networks.Address.create(String ip,
String netmask,
String gateway,
String type) |
Modifier and Type | Method and Description |
---|---|
static PaginatedCollection.Meta |
PaginatedCollection.Meta.create(long total) |
static PaginatedCollection.Links |
PaginatedCollection.Links.create(PaginatedCollection.Links.Pages pages) |
static PaginatedCollection.Links.Pages |
PaginatedCollection.Links.Pages.create(URI first,
URI next,
URI prev,
URI last) |
Modifier and Type | Method and Description |
---|---|
static ExecStartParams |
ExecStartParams.create(boolean detach) |
static StatusCode |
StatusCode.create(int statusCode) |
static State |
State.create(int pid,
boolean running,
int exitCode,
String startedAt,
String finishedAt,
boolean paused,
boolean restarting,
String status,
boolean oomKilled,
boolean dead,
String error) |
static Info |
Info.create(int containers,
boolean debug,
String driver,
List<List<String>> driverStatus,
String executionDriver,
boolean iPv4Forwarding,
int images,
String indexServerAddress,
String initPath,
String initSha1,
String kernelVersion,
boolean memoryLimit,
int nEventsListener,
int nFd,
int nGoroutines,
String operatingSystem,
boolean swapLimit,
String dockerRootDir,
List<String> labels,
long memTotal,
int ncpu,
String id,
String name) |
static Resource |
Resource.create(String resource) |
static Node |
Node.create(String ip) |
static Exec |
Exec.create(String id) |
static ExecInspect |
ExecInspect.create(String id,
boolean running,
int exitCode) |
static Container |
Container.create(String id,
Date created,
String path,
String name,
List<String> args,
Config config,
State state,
String image,
NetworkSettings networkSettings,
String sysInitPath,
String resolvConfPath,
Map<String,String> volumes,
HostConfig hostConfig,
String driver,
String execDriver,
Map<String,Boolean> volumesRW,
String command,
String status,
List<Port> ports,
String hostnamePath,
String hostsPath,
String mountLabel,
String processLabel,
com.google.common.base.Optional<Node> node) |
static Port |
Port.create(String ip,
int privatePort,
Integer publicPort,
String type) |
static Network.IPAM |
Network.IPAM.create(String driver,
List<Network.IPAM.Config> config) |
static ExposedPorts |
ExposedPorts.create(String portAndProtocol,
List<String> hostPorts) |
static HostConfig |
HostConfig.create(String containerIDFile,
List<String> binds,
List<Map<String,String>> lxcConf,
boolean privileged,
List<String> dns,
List<String> dnsSearch,
Map<String,List<Map<String,String>>> portBindings,
List<String> links,
List<String> extraHosts,
boolean publishAllPorts,
List<String> volumesFrom,
String networkMode,
List<String> securityOpt,
List<String> capAdd,
List<String> capDrop,
Map<String,String> restartPolicy) |
static ContainerSummary |
ContainerSummary.create(String id,
List<String> names,
String created,
String image,
String command,
List<Port> ports,
String status) |
static ImageHistory |
ImageHistory.create(String id,
long created,
String createdBy,
List<String> tags,
long size,
String comment) |
static ImageSummary |
ImageSummary.create(String id,
long created,
String parentId,
long size,
long virtualSize,
List<String> repoTags) |
static NetworkSettings |
NetworkSettings.create(String bridge,
String sandboxId,
boolean hairpinMode,
String linkLocalIPv6Address,
int linkLocalIPv6PrefixLen,
Map<String,List<Map<String,String>>> ports,
String sandboxKey,
List<String> secondaryIPAddresses,
List<String> secondaryIPv6Addresses,
String endpointId,
String gateway,
String globalIPv6Address,
int globalIPv6PrefixLen,
String ipAddress,
int ipPrefixLen,
String ipv6Gateway,
String macAddress,
Map<String,NetworkSettings.Details> networks,
String portMapping) |
static Network.IPAM.Config |
Network.IPAM.Config.create(String subnet,
String ipRange,
String gateway) |
static Image |
Image.create(String id,
String author,
String comment,
Config config,
Config containerConfig,
String parent,
Date created,
String container,
String dockerVersion,
String architecture,
String os,
long size,
long virtualSize,
List<String> repoTags) |
static Config |
Config.create(String hostname,
String domainname,
String user,
int memory,
int memorySwap,
int cpuShares,
boolean attachStdin,
boolean attachStdout,
boolean attachStderr,
boolean tty,
boolean openStdin,
boolean stdinOnce,
List<String> env,
List<String> cmd,
List<String> entrypoint,
String image,
Map<String,?> volumes,
String workingDir,
boolean networkDisabled,
Map<String,?> exposedPorts,
List<String> securityOpts,
HostConfig hostConfig) |
static NetworkSettings.Details |
NetworkSettings.Details.create(String endpointId,
String gateway,
String ipAddress,
int ipPrefixLen,
String ipv6Gateway,
String globalIPv6Address,
int globalIPv6PrefixLen,
String macAddress) |
static Network.Details |
Network.Details.create(String endpoint,
String macAddress,
String ipv4address,
String ipv6address) |
static Network |
Network.create(String name,
String id,
String scope,
String driver,
Network.IPAM ipam,
Map<String,Network.Details> containers,
Map<String,String> options) |
static Version |
Version.create(String apiVersion,
String arch,
String gitCommit,
String goVersion,
String kernelVersion,
String os,
String version) |
Modifier and Type | Method and Description |
---|---|
static AttachDisk |
AttachDisk.create(AttachDisk.Type type,
AttachDisk.Mode mode,
URI source,
String deviceName,
boolean boot,
AttachDisk.InitializeParams initializeParams,
boolean autoDelete,
List<String> licenses,
AttachDisk.DiskInterface diskInterface) |
static UrlMapValidateResult.UrlMapValidateResultInternal |
UrlMapValidateResult.UrlMapValidateResultInternal.create(Boolean loadSucceeded,
List<String> loadErrors,
Boolean testPassed,
List<UrlMapValidateResult.UrlMapValidateResultInternal.TestFailure> testFailures) |
static DiskType |
DiskType.create(Date creationTimestamp,
String name,
String description,
String validDiskSize,
Deprecated deprecated,
URI zone,
URI selfLink,
long defaultDiskSizeGb) |
static Deprecated |
Deprecated.create(Deprecated.State state,
URI replacement,
String deprecated,
String obsolete,
String deleted) |
static Instance.Scheduling |
Instance.Scheduling.create(Instance.Scheduling.OnHostMaintenance onHostMaintenance,
boolean automaticRestart,
boolean preemptible) |
static MachineType.ScratchDisk |
MachineType.ScratchDisk.create(int diskGb) |
static Instance.AttachedDisk |
Instance.AttachedDisk.create(int index,
Instance.AttachedDisk.Type type,
Instance.AttachedDisk.Mode mode,
URI source,
String deviceName,
boolean autoDelete,
boolean boot,
AttachDisk.InitializeParams initializeParams,
List<String> licenses,
AttachDisk.DiskInterface diskInterface) |
static HealthStatus |
HealthStatus.create(List<HealthStatus.HealthStatusInternal> healthStatus) |
static Operation.Error |
Operation.Error.create(List<Operation.Error.Entry> errors) |
static UrlMap.PathMatcher.PathRule |
UrlMap.PathMatcher.PathRule.create(List<String> paths,
URI service) |
static Disk |
Disk.create(String id,
Date creationTimestamp,
URI zone,
Disk.Status status,
String name,
String description,
int sizeGb,
String sourceSnapshot,
String sourceSnapshotId,
URI selfLink,
URI sourceImage,
String sourceImageId,
URI type,
List<String> licenses) |
static MachineType |
MachineType.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
int guestCpus,
int memoryMb,
Integer imageSpaceGb,
List<MachineType.ScratchDisk> scratchDisks,
int maximumPersistentDisks,
long maximumPersistentDisksSizeGb,
String zone,
Deprecated deprecated) |
static BackendService |
BackendService.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
List<BackendService.Backend> backends,
List<URI> healthChecks,
Integer timeoutSec,
Integer port,
String protocol,
String fingerprint,
String portName) |
static UrlMap |
UrlMap.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
List<UrlMap.HostRule> hostRules,
List<UrlMap.PathMatcher> pathMatchers,
List<UrlMap.UrlMapTest> urlMapTests,
URI defaultService,
String fingerprint) |
static Region |
Region.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
Region.Status status,
List<URI> zones,
List<Quota> quotas) |
static Network |
Network.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
String rangeIPv4,
String gatewayIPv4) |
static Instance |
Instance.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
Tags tags,
URI machineType,
Instance.Status status,
String statusMessage,
URI zone,
Boolean canIpForward,
List<Instance.NetworkInterface> networkInterfaces,
List<Instance.AttachedDisk> disks,
Metadata metadata,
List<Instance.ServiceAccount> serviceAccounts,
Instance.Scheduling scheduling) |
static TargetHttpProxy |
TargetHttpProxy.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
URI urlMap) |
static Route |
Route.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
URI network,
List<String> tags,
String destRange,
int priority,
URI nextHopInstance,
String nextHopIp,
URI nextHopNetwork,
URI nextHopGateway,
List<Warning> warnings,
URI nextHopVpnTunnel) |
static Operation |
Operation.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
URI targetLink,
String targetId,
String clientOperationId,
Operation.Status status,
String statusMessage,
String user,
Integer progress,
Date insertTime,
Date startTime,
Date endTime,
Integer httpErrorStatusCode,
String httpErrorMessage,
String operationType,
Operation.Error error,
List<Warning> warnings,
URI region,
URI zone) |
static Zone |
Zone.create(String id,
Date creationTimestamp,
URI selfLink,
String name,
String description,
Zone.Status status,
List<Zone.MaintenanceWindow> maintenanceWindows,
Deprecated deprecated,
String region,
List<String> availableMachineTypes) |
static Quota |
Quota.create(String metric,
double usage,
double limit) |
static Tags |
Tags.create(String fingerprint,
com.google.common.collect.ImmutableList<String> items) |
static Instance.NetworkInterface.AccessConfig |
Instance.NetworkInterface.AccessConfig.create(String name,
Instance.NetworkInterface.AccessConfig.Type type,
String natIP) |
static HealthStatus.HealthStatusInternal |
HealthStatus.HealthStatusInternal.create(String ipAddress,
int port,
URI instance,
String healthState) |
static Instance.ServiceAccount |
Instance.ServiceAccount.create(String email,
List<String> scopes) |
static Firewall.Rule |
Firewall.Rule.create(String ipProtocol,
List<String> ports) |
static UrlMap.HostRule |
UrlMap.HostRule.create(String description,
List<String> hosts,
String pathMatcher) |
static AttachDisk.InitializeParams |
AttachDisk.InitializeParams.create(String diskName,
Long diskSizeGb,
URI sourceImage,
URI diskType) |
static Project.UsageExportLocation |
Project.UsageExportLocation.create(String bucketName,
String reporNamePrefix) |
static KeyValuePair |
KeyValuePair.create(String key,
String value) |
static Zone.MaintenanceWindow |
Zone.MaintenanceWindow.create(String name,
String description,
Date beginTime,
Date endTime) |
static Warning |
Warning.create(String code,
String message,
List<KeyValuePair> data) |
static Operation.Error.Entry |
Operation.Error.Entry.create(String code,
String location,
String message) |
static TargetInstance |
TargetInstance.create(String id,
String creationTimestamp,
String name,
String description,
URI zone,
String natPolicy,
URI instance,
URI selfLink) |
static UrlMap.UrlMapTest |
UrlMap.UrlMapTest.create(String description,
String host,
String path,
URI service) |
static UrlMap.PathMatcher |
UrlMap.PathMatcher.create(String name,
String description,
URI defaultService,
List<UrlMap.PathMatcher.PathRule> pathRules) |
static UrlMapValidateResult.UrlMapValidateResultInternal.TestFailure |
UrlMapValidateResult.UrlMapValidateResultInternal.TestFailure.create(String host,
String path,
URI expectedService,
URI actualService) |
static BackendService.Backend |
BackendService.Backend.create(String description,
URI group,
BackendService.Backend.BalancingModes balancingMode,
Float maxUtilization,
Integer maxRate,
Float maxRatePerInstance,
Float capacityScaler) |
static Snapshot |
Snapshot.create(String id,
URI selfLink,
Date creationTimestamp,
String name,
String description,
int diskSizeGb,
String status,
URI sourceDisk,
String sourceDiskId,
Long storageBytes,
String storageByteStatus,
List<String> licenses) |
static Image |
Image.create(String id,
URI selfLink,
Date creationTimestamp,
String name,
String description,
String sourceType,
Image.RawDisk rawDisk,
Deprecated deprecated,
Image.Status status,
Long archiveSizeBytes,
Long diskSizeGb,
String sourceDisk,
String sourceDiskId,
List<String> licenses) |
static HttpHealthCheck |
HttpHealthCheck.create(String id,
URI selfLink,
Date creationTimestamp,
String name,
String description,
String host,
String requestPath,
Integer port,
Integer checkIntervalSec,
Integer timeoutSec,
Integer unhealthyThreshold,
Integer healthyThreshold) |
static Firewall |
Firewall.create(String id,
URI selfLink,
Date creationTimestamp,
String name,
String description,
URI network,
List<String> sourceRanges,
List<String> sourceTags,
List<String> targetTags,
List<Firewall.Rule> allowed) |
static TargetPool |
TargetPool.create(String id,
URI selfLink,
Date creationTimestamp,
String name,
String description,
URI region,
List<URI> healthChecks,
List<URI> instances,
TargetPoolCreationOptions.SessionAffinityValue sessionAffinity,
Float failoverRatio,
URI backupPool) |
static Address |
Address.create(String id,
URI selfLink,
String name,
Date creationTimestamp,
String description,
Address.Status status,
List<URI> users,
URI region,
String address) |
static Instance.NetworkInterface |
Instance.NetworkInterface.create(String name,
URI network,
String networkIP,
List<Instance.NetworkInterface.AccessConfig> accessConfigs) |
static ForwardingRule |
ForwardingRule.create(String id,
URI selfLink,
String name,
String description,
Date creationTimestamp,
URI region,
String ipAddress,
ForwardingRule.IPProtocol ipProtocol,
String portRange,
URI target) |
static Project |
Project.create(String id,
URI selfLink,
String name,
String description,
Metadata commonInstanceMetadata,
List<Quota> quotas,
List<String> externalIpAddresses,
Date creationTimestamp,
Project.UsageExportLocation usageExportLocation) |
static Instance.SerialPortOutput |
Instance.SerialPortOutput.create(URI selfLink,
String contents) |
static License |
License.create(URI selfLink,
String name,
boolean chargesUseFee) |
static Image.RawDisk |
Image.RawDisk.create(URI source,
String containerType,
String sha1Checksum) |
static UrlMapValidateResult |
UrlMapValidateResult.create(UrlMapValidateResult.UrlMapValidateResultInternal result) |
Modifier and Type | Method and Description |
---|---|
static TargetPoolCreationOptions |
TargetPoolCreationOptions.create(String name,
List<URI> healthChecks,
List<URI> instances,
TargetPoolCreationOptions.SessionAffinityValue sessionAffinity,
Float failoverRatio,
URI backupPool,
String description) |
static NetworkCreationOptions |
NetworkCreationOptions.create(String name,
String description,
String rangeIPv4,
String gatewayIPv4) |
Modifier and Type | Method and Description |
---|---|
static ClientCredentialsAuthArgs |
ClientCredentialsAuthArgs.create(String clientId,
ClientCredentialsClaims claims,
String resource,
String scope) |
static Token |
Token.create(String accessToken,
String tokenType,
long expiresIn) |
static Claims |
Claims.create(String iss,
String scope,
String aud,
long exp,
long iat) |
static ClientCredentialsClaims |
ClientCredentialsClaims.create(String iss,
String sub,
String aud,
long exp,
long nbf,
String jti) |
static ClientSecret |
ClientSecret.create(String clientId,
String clientSecret,
String resource,
String scope) |
static CertificateFingerprint |
CertificateFingerprint.create(String fingerprint,
X509Certificate certificate) |
Modifier and Type | Method and Description |
---|---|
static UpdateFirewall |
UpdateFirewall.create(String tenantId,
String name,
String description,
Boolean adminStateUp,
String firewallPolicyId) |
static CreateFirewall |
CreateFirewall.create(String tenantId,
String name,
String description,
Boolean adminStateUp,
String firewallPolicyId) |
static UpdateFirewallRule |
UpdateFirewallRule.create(String tenantId,
String name,
String description,
String firewallPolicyId,
Boolean shared,
String protocol,
IpVersion ipVersion,
String sourceIpAddress,
String destinationIpAddress,
String sourcePort,
String destinationPort,
int position,
String action,
Boolean enabled) |
static CreateFirewallRule |
CreateFirewallRule.create(String tenantId,
String name,
String description,
String firewallPolicyId,
Boolean shared,
String protocol,
IpVersion ipVersion,
String sourceIpAddress,
String destinationIpAddress,
String sourcePort,
String destinationPort,
int position,
String action,
Boolean enabled) |
static Firewall |
Firewall.create(String id,
String tenantId,
String name,
String description,
Boolean adminStateUp,
String status,
String firewallPolicyId) |
static FirewallRule |
FirewallRule.create(String id,
String tenantId,
String name,
String description,
String firewallPolicyId,
boolean shared,
String protocol,
IpVersion ipVersion,
String sourceIpAddress,
String destinationIpAddress,
String sourcePort,
String destinationPort,
int position,
String action,
boolean enabled) |
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.