@Generated(value="org.immutables.processor.ProxyProcessor") public final class Policy extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Policy.Builder
Builds instances of type
Policy. |
| Modifier and Type | Method and Description |
|---|---|
static Policy.Builder |
builder()
Creates a builder for
Policy. |
boolean |
equals(Object another)
This instance is equal to all instances of
Policy that have equal attribute values. |
Destination |
getDestination()
Destination for the Policy
|
Source |
getSource()
Source for the Policy
|
int |
hashCode()
Computes a hash code from attributes:
destination, source. |
String |
toString()
Prints the immutable value
Policy with attribute values. |
public Destination getDestination()
public Source getSource()
public boolean equals(Object another)
Policy that have equal attribute values.public int hashCode()
destination, source.public String toString()
Policy with attribute values.public static Policy.Builder builder()
Policy.
Policy.builder()
.destination(org.cloudfoundry.networking.v1.policies.Destination) // required destination
.source(org.cloudfoundry.networking.v1.policies.Source) // required source
.build();
Copyright © 2020. All rights reserved.