@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PullThroughCacheRule extends Object implements Serializable, Cloneable, StructuredPojo
The details of a pull through cache rule.
Constructor and Description |
---|
PullThroughCacheRule() |
Modifier and Type | Method and Description |
---|---|
PullThroughCacheRule |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time the pull through cache was created.
|
String |
getEcrRepositoryPrefix()
The Amazon ECR repository prefix associated with the pull through cache rule.
|
String |
getRegistryId()
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
|
String |
getUpstreamRegistryUrl()
The upstream registry URL associated with the pull through cache rule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time the pull through cache was created.
|
void |
setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
|
void |
setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
|
void |
setUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
|
String |
toString()
Returns a string representation of this object.
|
PullThroughCacheRule |
withCreatedAt(Date createdAt)
The date and time the pull through cache was created.
|
PullThroughCacheRule |
withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
|
PullThroughCacheRule |
withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
|
PullThroughCacheRule |
withUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
|
public void setEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache rule.public String getEcrRepositoryPrefix()
The Amazon ECR repository prefix associated with the pull through cache rule.
public PullThroughCacheRule withEcrRepositoryPrefix(String ecrRepositoryPrefix)
The Amazon ECR repository prefix associated with the pull through cache rule.
ecrRepositoryPrefix
- The Amazon ECR repository prefix associated with the pull through cache rule.public void setUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.public String getUpstreamRegistryUrl()
The upstream registry URL associated with the pull through cache rule.
public PullThroughCacheRule withUpstreamRegistryUrl(String upstreamRegistryUrl)
The upstream registry URL associated with the pull through cache rule.
upstreamRegistryUrl
- The upstream registry URL associated with the pull through cache rule.public void setCreatedAt(Date createdAt)
The date and time the pull through cache was created.
createdAt
- The date and time the pull through cache was created.public Date getCreatedAt()
The date and time the pull through cache was created.
public PullThroughCacheRule withCreatedAt(Date createdAt)
The date and time the pull through cache was created.
createdAt
- The date and time the pull through cache was created.public void setRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
registryId
- The Amazon Web Services account ID associated with the registry the pull through cache rule is associated
with.public String getRegistryId()
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
public PullThroughCacheRule withRegistryId(String registryId)
The Amazon Web Services account ID associated with the registry the pull through cache rule is associated with.
registryId
- The Amazon Web Services account ID associated with the registry the pull through cache rule is associated
with.public String toString()
toString
in class Object
Object.toString()
public PullThroughCacheRule clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.