Class PeerAuthenticationSpec
- java.lang.Object
-
- com.marcnuri.yakc.model.io.istio.security.v1beta1.PeerAuthenticationSpec
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class PeerAuthenticationSpec extends java.lang.Object implements com.marcnuri.yakc.model.Model
PeerAuthentication defines how traffic will be tunneled (or not) to the sidecar.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PeerAuthenticationSpec.Builder
-
Constructor Summary
Constructors Constructor Description PeerAuthenticationSpec()
PeerAuthenticationSpec(PeerAuthenticationSpecMtls mtls, java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls> portLevelMtls, PeerAuthenticationSpecSelector selector)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PeerAuthenticationSpec.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
PeerAuthenticationSpecMtls
getMtls()
java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls>
getPortLevelMtls()
Port specific mutual TLS settings.PeerAuthenticationSpecSelector
getSelector()
int
hashCode()
void
setMtls(PeerAuthenticationSpecMtls mtls)
void
setPortLevelMtls(java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls> portLevelMtls)
Port specific mutual TLS settings.void
setSelector(PeerAuthenticationSpecSelector selector)
PeerAuthenticationSpec.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
PeerAuthenticationSpec
public PeerAuthenticationSpec(PeerAuthenticationSpecMtls mtls, java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls> portLevelMtls, PeerAuthenticationSpecSelector selector)
-
PeerAuthenticationSpec
public PeerAuthenticationSpec()
-
-
Method Detail
-
builder
public static PeerAuthenticationSpec.Builder builder()
-
toBuilder
public PeerAuthenticationSpec.Builder toBuilder()
-
getMtls
public PeerAuthenticationSpecMtls getMtls()
-
getPortLevelMtls
public java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls> getPortLevelMtls()
Port specific mutual TLS settings.
-
getSelector
public PeerAuthenticationSpecSelector getSelector()
-
setMtls
public void setMtls(PeerAuthenticationSpecMtls mtls)
-
setPortLevelMtls
public void setPortLevelMtls(java.util.Map<java.lang.String,PeerAuthenticationSpecPortLevelMtls> portLevelMtls)
Port specific mutual TLS settings.
-
setSelector
public void setSelector(PeerAuthenticationSpecSelector selector)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-