org.jclouds.googlecomputeengine.domain
Class Route.Warning

java.lang.Object
  extended by org.jclouds.googlecomputeengine.domain.Route.Warning
Enclosing class:
Route

public static class Route.Warning
extends Object

If potential misconfigurations are detected for this route, this field will be populated with warning messages.


Nested Class Summary
static class Route.Warning.Builder
           
 
Constructor Summary
Route.Warning(String code, String message, Map<String,String> data)
           
 
Method Summary
static Route.Warning.Builder builder()
           
 boolean equals(Object obj)
          
 String getCode()
           
 Map<String,String> getData()
           
 com.google.common.base.Optional<String> getMessage()
           
 int hashCode()
          
protected  com.google.common.base.Objects.ToStringHelper string()
          
 Route.Warning.Builder toBuilder()
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Route.Warning

@ConstructorProperties(value={"code","message","data"})
public Route.Warning(String code,
                                                String message,
                                                Map<String,String> data)
Method Detail

getCode

public String getCode()
Returns:
The warning type identifier for this warning.

getMessage

public com.google.common.base.Optional<String> getMessage()
Returns:
Optional human-readable details for this warning.

getData

public Map<String,String> getData()
Returns:
Metadata for this warning

hashCode

public int hashCode()

Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)

Overrides:
equals in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()


toString

public String toString()

Overrides:
toString in class Object

builder

public static Route.Warning.Builder builder()

toBuilder

public Route.Warning.Builder toBuilder()


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.